
October 31st, 2003, 10:12 AM
|
|
Senior Member
|
|
Join Date: Sep 2003
Location: Canada
Posts: 305
Time spent in forums: 2 h 45 m 20 sec
Reputation Power: 10
|
|
Now i understand your are using two different forms not master detail. In this situation Global Variable will be your first choice, declare a global variable in your form Y under the Form level trigger 'WHEN_NEW_FORM_INSTANCE' like that:
:GLOBAL.GY := null; --declaring global variable
Define a new Block level trigger 'POST_QUERY' in form Y, then make GY equal to variable of that block item. look like that:
:GLOBAL.GY :=  EPTNO;
The second step goto your form X. Define a new Block level trigger 'POST_QUERY' , then make this block item equal to that golbal variable, like that:
 EPTNO := :GLOBAL.GY;
You can see these changes that you have done in form Y by running query.
Global variables always available during throughout the session.
Regards,
|