How to test if a form is open

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.
 
V

Van T. Dinh

If you use A2K or later:

CurrentProject.AllForms("FormName").IsLoaded

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top