By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,905 Members | 2,075 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,905 IT Pros & Developers. It's quick & easy.

Detecting No Form Open in CloseEvent

P: n/a
Thank you in advance for your assistance.

I would like to know if there's a way to detect if NO form is open, so the
Switchboard is opened and not leaving a user with no interface in the database?

Michael
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Lumpierbritches wrote:
Thank you in advance for your assistance.

I would like to know if there's a way to detect if NO form is open, so the
Switchboard is opened and not leaving a user with no interface in the database?


If Forms.Count = 0 Then
' open switchboard
End If
--
Pretentious? Moi?
Nov 13 '05 #2

P: n/a
Instead of bothering with this, disable the close button on the
switchboard, so they cannot close it, thereby avoiding the situation
you described - the database open with no forms for the user to
use/interact with. You can't really do anything with the database
with no forms open anyway, so either the switchboard should always be
open, or if they close it, the entire application should close.

lu*************@aol.com (Lumpierbritches) wrote in message news:<20***************************@mb-m18.aol.com>...
Thank you in advance for your assistance.

I would like to know if there's a way to detect if NO form is open, so the
Switchboard is opened and not leaving a user with no interface in the database?

Michael

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.