Form Properties

fernin8r

Registered User.
Local time
Today, 09:50
Joined
May 28, 2002
Messages
142
Hey everyone,

Hopefully this isn't another stupid question. Here's the situation.
I have 2 forms. one of which has a button that opens a new form and close the original form. i would like it to close the original plus the other one. Let me try to explain this better.

Form1 is open
Form2 is open

when i click the button on Form1:
Form3 is open
Form1 is closed
Form2 is closed

This is simple. The problem I'm having is that sometimes Form2 is closed when i click the button on Form1. Is there a way to see if Form2 is open or not? I tried

If (Forms!Form2.Open = True) Then

but i get an error saying "Cannot Find Forms!Form2" because the form is closed. Thanks
 
Thanks for the link. It worked perfectly.
 
No problem, I was just browsing the other day and saw that thread and then saw your problem today.
 

Users who are viewing this thread

Back
Top Bottom