Forms 4.5: Button that enters & executes query

From: T. J. <twj_at_kansascity.com>
Date: Sat, 27 Feb 1999 15:20:44 -0600
Message-ID: <twj-2702991520440001_at_port108.tnt1.kc.idir.net>



[Quoted] I'm trying to set up a button with a when-pressed trigger that enters query mode, prepopulates some query parameters (in a different block), and executes the query. This doesn't seem to work - the button doesn't do this.
code facsimile is below. Any suggestions? Thanks,
Thomas

ENTER_QUERY;
GO_ITEM('BLOCK.PROBLEM_ID');
:BLOCK.ITEM := 'PROGRAM%';
:BLOCK.OPEN_DATE := TRUNC(SYSDATE);

EXECUTE_QUERY; Received on Sat Feb 27 1999 - 22:20:44 CET

Original text of this message