P
Pat Dools
Hello,
I have the following code to close the current form, and then make the
'Switchboard' form (which is already 'open'), the active window:
Private Sub CommandCloseFormGoToSwitchboard_Click()
DoCmd.Close
DoCmd.OpenForm "Switchboard", , , acNormal
End Sub
I have it behind a Command button. When I click on the button, I get an
error that the form cannot be opened because it is not bound to a table or
query. The Switchboard is not in fact bound, the user simply launches
various forms from it. So, I'm confused as to why it is looking for a data
source underneath.
Is there code to simply close th active form and make the 'Switchboard' the
active window?
Thanks.
I have the following code to close the current form, and then make the
'Switchboard' form (which is already 'open'), the active window:
Private Sub CommandCloseFormGoToSwitchboard_Click()
DoCmd.Close
DoCmd.OpenForm "Switchboard", , , acNormal
End Sub
I have it behind a Command button. When I click on the button, I get an
error that the form cannot be opened because it is not bound to a table or
query. The Switchboard is not in fact bound, the user simply launches
various forms from it. So, I'm confused as to why it is looking for a data
source underneath.
Is there code to simply close th active form and make the 'Switchboard' the
active window?
Thanks.