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