Randomblink
The Irreverent Reverend
- Local time
- Today, 14:31
- Joined
- Jul 23, 2001
- Messages
- 279
I have a Public Function that I use to close ALL my forms.
My problem is...I also have a Function that Hides the access Window. So if the last form visible is closed...then Access still runs, but it is empty...argh!
Well, I want to add a line to the close function to check for all open forms...
If there are no open forms, I want to:
Application.Quit acCloseSaveAll
Can anyone help me?
I don't know how to check to see if there are any forms open?
My problem is...I also have a Function that Hides the access Window. So if the last form visible is closed...then Access still runs, but it is empty...argh!
Well, I want to add a line to the close function to check for all open forms...
If there are no open forms, I want to:
Application.Quit acCloseSaveAll
Can anyone help me?
I don't know how to check to see if there are any forms open?