Testing Whether a Form is Open

F

Frank Wagner

I wuold like to condition an routine on one form based on
whether another form is open so I can copy data from that
other form. It there a procedure I can use to determine
whether or not that other form is open.

Any help would be appreciated.

Thanks

Frank Wagner
 
P

PC Datasheet

Look in the standard modules if the sample database Northwind Traders for
the IsLaded function and copy it into your database.
 
A

Allen Browne

In Access 2000 and later, you can test if Form1 is loaded like this:
If CurrentProject.AllForms("Form1").IsLoaded Then

For older versions, copy the IsLoaded() function from the Utility module in
the Northwind sample database.
 

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