Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking to see if Form is open

Status
Not open for further replies.

sda7bobp

Technical User
Feb 14, 2005
28
0
0
US
I should know this, but having a brain skip: How can I check in code to see if a form is open?
Thanks,
Bob
 
2000+ version

[tt]if currentproject.allforms("myform").isloaded then
' the form is loaded
end if[/tt]

All versions
Then there's a function in the faq section of the other topics forum (forum181) by the member Rohdem that you can use, or find the Northwind sample database, and copy the IsLoaded function from there ...

Roy-Vidar
 
Thank you, Roy. I knew I had seen it, but just could not locate it or think of it.
Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top