How to Determine if Form is Open

C

Chaplain Doug

Access 2003. How can I programmatically determine if a form (say "Print All
Reports") is open? Thanks for the help.
 
D

Dirk Goldgar

Chaplain Doug said:
Access 2003. How can I programmatically determine if a form (say
"Print All Reports") is open? Thanks for the help.

If CurrentProject.AllForms("Print All Reports").IsLoaded Then
' the form is open
Else
' it isn't
End If
 
E

Eric Blitzer

Here something I got from Allen Brown
n Access 2000 and later, you can use:
If CurrentProject.AllForms("Form1").IsLoaded Then
 
Top