How to test if a form is open

  • Thread starter Thread starter Joey
  • Start date Start date
J

Joey

Hello all,

How does one test to see if a form is open? Is there an IsNull function
but for forms (like IsOpen(formName))? Or is there some object property
or collection where I must seek?

Thanks,
Joey.
 
If you use A2K or later:

CurrentProject.AllForms("FormName").IsLoaded

returns True (Form is opened/loaded) or False (Form is not opened/loaded)
 
Back
Top