Bob,

Try moving your code:

If ...... then
        closewindow
endif
return

To:

Table>>Add/Remove Table>>Table Setting>>On Row Entry

It should work correctly there.

Javier,

Javier Valencia, PE
913-829-0888 Office
913-915-3137 Cell
913-649-2904 Fax
[email protected]

________________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, June 15, 2010 5:48 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Close Form on Before Start EEP

I have a form that does several actions in the Before Start EEP.
 
I desire to test and if certain conditions  are met, "close" or not continue
opening the form.
By closing, I mean preventing the AFTER START EEP from running and
preventing the 
form from displaying, even briefly.
 
However in the BEFORE START EEP, it seems that neither EXIT nor CLOSEWINDOW
is a valid function.  At least I have tried...
 
If ...... then
closewindow
return
endif
 
and 
 
If..... then
EXIT
return
endif
 
Neither one seems to engage and the AFTER START EEP will run regardless and
the form displays.
 
I know I can check the data before calling the form.... move the code to the
AFTER START EEP
etc. etc.   but I would like to know if there is a process to
stop/close/exit a form in the BEFORE START EEP.
 
 
Thanks all
 
-Bob


 


Reply via email to