how do you check...

A

Allen Browne

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.
 
R

rodchar

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.
 
B

Bobpj

As always Allen, a quick sharp and accurate answer.

It helped me a great deal.

Cheers
 

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