Maybe you could put it in the AFTER START EEP at the top and set your ALPHA BLEND to 0. Run your code if condition are ment then change the ALPHA BLEND back to 255 and display the form or close it. If ...... then
closewindow return ELSE the rest of the code in you AFTER START EPP PROPERTY RBASE_FORM ALPHABLENDVALUE 255 endif Victor Timmons Tiz's Door Sales, Inc Visit us at www.tizdoors.com <http://www.tizdoors.com/> P Please consider the environment before printing this e-mail ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Tuesday, June 15, 2010 3: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

