how do you check...

  • Thread starter Thread starter Guest
  • Start date Start date
In Access 2000 and later, you can test if Form1 is loaded like this:
CurrentProject.AllForms("Form1").IsLoaded

In older versions, use SysCmd with acSysCmdGetObjectState. The Northwind
sample database has a wrapper function for this called IsLoaded().

You could also tes if Forms("Form1") produces an error.
 
thank you.

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

In older versions, use SysCmd with acSysCmdGetObjectState. The Northwind
sample database has a wrapper function for this called IsLoaded().

You could also tes if Forms("Form1") produces an error.
 
Back
Top