How to tell if a form is open

  • Thread starter Thread starter Nick Heath
  • Start date Start date
N

Nick Heath

I want to know how to return a value telling me whether or not a form is
currently open. Something like this pseudo-code:

If Forms![new appointment].Open = True Then
'send harry a box of chocolates'
End If

Cheers
 
Assuming Access 2000 or later:
If CurrentProject.AllForms("new appointment").IsLoaded Then
 
that works great thanks, now how do you send a box of chocolates?
--
Nick


Allen Browne said:
Assuming Access 2000 or later:
If CurrentProject.AllForms("new appointment").IsLoaded Then

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

Nick Heath said:
I want to know how to return a value telling me whether or not a form is
currently open. Something like this pseudo-code:

If Forms![new appointment].Open = True Then
'send harry a box of chocolates'
End If

Cheers
 
CurrentProject.Chocolates("Truffles").Export

--
HTH,
George


Nick Heath said:
that works great thanks, now how do you send a box of chocolates?
--
Nick


Allen Browne said:
Assuming Access 2000 or later:
If CurrentProject.AllForms("new appointment").IsLoaded Then

--
Allen Browne - Microsoft MVP. Perth, Western Australia

Reply to group, rather than allenbrowne at mvps dot org.

Nick Heath said:
I want to know how to return a value telling me whether or not a form is
currently open. Something like this pseudo-code:

If Forms![new appointment].Open = True Then
'send harry a box of chocolates'
End If

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

Back
Top