G
Guest
How do I check if a Hidden form is open/loaded using code?
I've got a menu form that opens 5 reports and as it does this, a hidden form
unhides to to give the user a reminder. On this reminder form there is a
"Don't Show me this screen again" check box that closes the form rather than
hiding it when it's 'OnDeactivate' event runs.
My problem is that when the form is closed rather than hidden, my reports
don't open and I get a message that says the now closed form can not be
found.
I want to put in a little bit of code that checks if the reminder form is
closed and not just hidden and if it is closed then to not try to unhide it.
Do I use the "IsLoaded" function and if so has anyone got any examples that
aren't to difficult to follow?!
If anyone can help I'll be very, very happy camper.
I've got a menu form that opens 5 reports and as it does this, a hidden form
unhides to to give the user a reminder. On this reminder form there is a
"Don't Show me this screen again" check box that closes the form rather than
hiding it when it's 'OnDeactivate' event runs.
My problem is that when the form is closed rather than hidden, my reports
don't open and I get a message that says the now closed form can not be
found.
I want to put in a little bit of code that checks if the reminder form is
closed and not just hidden and if it is closed then to not try to unhide it.
Do I use the "IsLoaded" function and if so has anyone got any examples that
aren't to difficult to follow?!
If anyone can help I'll be very, very happy camper.