How to know if a form is loaded?

  • Thread starter Thread starter David Portwood
  • Start date Start date
D

David Portwood

I saw this in my textbook, but I can't remember where and I haven't been
able to find it (the texbook has more than 1000 pages). When I'm not looking
for it, it will be right there in front of me, I'm sure.

Maybe somebody knows this off the top of their heads?
 
In Access 2000 and later, test:
CurrentProject.AllForms("Form1").IsLoaded

In any version:
SysCmd(acSysCmdGetObjectState, acform, "Form1")
 
Thanks, Allen. I would have looked up "IsLoaded" in the Help files, except
the Help function always seems broken. Apparently, whenever our network is
busy doing backups (or whatever) the Help function stops working. This
worries me, as I'm getting ready to deploy an app across the same network.
Well, fingers crossed. And thanks again.
 

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

Back
Top