I want to be able to hide and unhide forms as I navigate through the database. I have put DoCmd.RunCommand acCmdWindowHide in the OnClick() event of command buttons on the main switchboard, which works beautifully!
However, when I come back the other way using "DoCmd.RunCommand acCmdWindowUnhide" to restore the main switchboard on closing the form I get a message box titled Unhide Window displaying the caption for the hidden switchboard which I have to select and cick okay.
Is it possible to bypass this message so that the single hidden object is automatically selected and unhidden?
However, when I come back the other way using "DoCmd.RunCommand acCmdWindowUnhide" to restore the main switchboard on closing the form I get a message box titled Unhide Window displaying the caption for the hidden switchboard which I have to select and cick okay.
Is it possible to bypass this message so that the single hidden object is automatically selected and unhidden?