Nitya,
In your program look for this field - #FEOJ. This is the field used for
seeing if the user pressed F3. If you go to G92 and take option 7 for
Function Key Definitions and inquire on the video/display name you
should see Exit Program with Key/Opt and Field. Test for @@AID =3D #FEOJ,
then do something.
I hope this helps?
Jim Rubino
Fike Corporation