check to see of a form is open

  • Thread starter Thread starter Karen
  • Start date Start date
K

Karen

I cant get the Visual Basic help to tell me this...
I want to check to see if a form is open before I do a certain action. How
do I do that?

Thanks,
Karen
 
Test:
CurrentProject.AllForms("MyForm").IsLoaded

Older versions do not have the AllForms collection, but you can copy the
IsLoaded() function from the Northwind sample database.
 
Back
Top