Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking Form's Open Property

Status
Not open for further replies.

JoeTekTips

Programmer
May 1, 2005
21
US
Pretty simple question, sorry if this is a little too simple;

How do I check the open propery of a form in an if statement? I need something like this;

if( frmJobTicket isOpen = true)
'do this
else
'do this

Thanks,
-Joe


 
Which VBA ?
For access:
If CurrentProject.AllForms("frmJobTicket").IsLoaded Then

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Yes, is Access VBA.
The code posted worked great.
Thanks,
-Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top