In Access 2000 and later, you can use:
CurrentProject.AllForms("Form1").IsLoaded
In earlier versions, use:
SysCmd(acSysCmdGetObjectState, acform, "Form1")
If that seems a bit cryptic, copy the IsLoaded() function from the Northwind
sample database. It's a wrapper for the SysCmd() call.
In Access 2000 and later, you can use:
CurrentProject.AllForms("Form1").IsLoaded
In earlier versions, use:
SysCmd(acSysCmdGetObjectState, acform, "Form1")
If that seems a bit cryptic, copy the IsLoaded() function from the Northwind
sample database. It's a wrapper for the SysCmd() call.
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.