Hi David,
All the eeps in this form run w/o errors during the trace.
This eep is on a speed button in order to exit the form.
However, If I do not clear vars and run the program again, it returns to the calling program and continures correctly. But if I clear all vars and run it a 3rd time, it fails.
So I printed out all the vars (show var) and made sure they were all defined in the calling program.
I have been working on this problem for several days, several hours each day. It's driving me crazy.


I don't think the property command makes any difference. Prior to this I just used a predefined "save row and Exit". Since that couldn't be traced I changed it to a custom eep with the property command and closewindow.

Bernie
----- Original Message ----- From: "David M. Blocker" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Saturday, March 26, 2005 4:44 PM
Subject: [RBG7-L] - Re: exiting form does not return control to calling program



A few thoughts:

Are there OTHER EEP's in the form that could be causing the problem. THis
one is pretty inoccuous

Where does this EEP run? I believe you normally want this PROPERTY command
in an ON AFTER START EEP


You are clearing all variables except two - does the code calling the form
need other variables?

David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261
----- Original Message -----
From: "Bernard Lis" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Saturday, March 26, 2005 3:09 PM
Subject: [RBG7-L] - exiting form does not return control to calling program



tracing the command file, at the end shows the following:

clear all var except runvar,cno
PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE'
closewindow
return

It returns to the R> instead of the calling program.
No errors were seen during the trace!

The calling program does   Edit using StartEnd
the form comes up and retrieves data, then when I exit the form, it goes
to
an R>

The statement after the edit using is a pause to see if it returns.

Any ideas would be appreciated.

Bernie Lis







Reply via email to