V
Victoria
I have a switchboard with buttons to open other forms. Here is an example of
On Click code...
DoCmd.OpenForm ("frmCustomers")
Forms.Item("frmSwitchB").Visible = False
The form so opened has a 'return to switchboard button', cmdSwitch, with
code...
Me.Visible = False
Forms.Item("frmSwitch").Visible = True
Everything seems to be working as expected. But... when I click a button on
FrmSwitch, I don't really know if the form it is trying to open is already
open but just not visible. Does it matter? Does Opening a non-visible but
already open form just result in making it visible? (or am I opening the
form yet again, not knowing that I'm building up a collection of invisible
copies)
On Click code...
DoCmd.OpenForm ("frmCustomers")
Forms.Item("frmSwitchB").Visible = False
The form so opened has a 'return to switchboard button', cmdSwitch, with
code...
Me.Visible = False
Forms.Item("frmSwitch").Visible = True
Everything seems to be working as expected. But... when I click a button on
FrmSwitch, I don't really know if the form it is trying to open is already
open but just not visible. Does it matter? Does Opening a non-visible but
already open form just result in making it visible? (or am I opening the
form yet again, not knowing that I'm building up a collection of invisible
copies)