verify open/closed status of form?

  • Thread starter Thread starter Gregorio
  • Start date Start date
G

Gregorio

Access 2000

What's the method or property to use to verify if a form is open or not? I'd
like to open a form if it isn't already and can't ferret out how to verify
if it is open.

Thanks in advance, Greg
 
I may have answered my own question:

If CurrentProject.AllForms("frmName").IsLoaded Then
 
That's good in the later versions of Access. The old way
was to use the SysCmd function, which is pretty obscure.
 
Back
Top