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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IF (form is open) THEN??

Status
Not open for further replies.

ChrisHaynes

Technical User
Mar 9, 2006
80
GB
Hi there, I don't know the expression to say

IF a form is open THEN

Can anyone help?

Thanks
 
There is a search facility here (advanced search at the top of the page), which sometimes gives results. Also a read at one of the "how to get the most out of the membership" faqs, can be recommended, for instance faq181-2886.

For this

[tt]if currentproject.allforms("frmMyForm").isloaded then
' form named "frmMyForm" is open
end if[/tt]

Roy-Vidar
 
Thanks RoyVidar, that works brilliantly. I tried looking on some access pages but couldn't find the solution.

Thanks again for the answer.

Chris.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top