Hi Bob,
If you don't want to use the form under your "certain conditions", then why not 
test for those conditions before you bring up the form?  Put your "several 
conditions" in your macro b4 the Edit Using.  Or am I missing something?

Bernie Lis
  ----- Original Message ----- 
  From: [email protected] 
  To: RBASE-L Mailing List 
  Sent: Tuesday, June 15, 2010 6:48 PM
  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