So why does it matter where the property DONTSHOWSAVEDIALOG is placed?
I originally placed it in the eep just before closing the window, which is where you get the message "Do you want to Save" and it did suppress the message but didn't return control to the calling program.
Could someone explain why the placement of this command is critical?
And are there rules for the placement of other property commands?
Bernie Lis
----- Original Message ----- From: "Bernard Lis" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Sunday, March 27, 2005 1:03 AM
Subject: [RBG7-L] - Re: exiting form does not return control to callingprogram
David, Jim,
I moved the property command to the after start eep, as you suggested.
Now I can't make it fail! Hmmmmmm!
I'll try again in the morning. Maybe daylight is the cause for it failing.
Thanks!
Bernie Lis
----- Original Message ----- From: "Jim Schmitt" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Saturday, March 26, 2005 9:02 PM
Subject: [RBG7-L] - Re: exiting form does not return control to callingprogram
Bernie:
1. Put the 'PROPERTY RBASE_FORM DONTSHOWDAVEDIALOG 'TRUE' in the 'ON AFTER
START EEP.
2. It sounds like you have an undefined VAR somewhere.
Jim
At 03:09 PM 3/26/05 -0500, you wrote:
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
======================================== Jim Schmitt Ohio Software Services 2211 Lake Club Drive Columbus, Oh 43232 Phone 1-614-863-1850 Fax 1-614-863-0325 E-mail [EMAIL PROTECTED] ========================================
