I get the following error in the Access 2010 runtime using an mdb. I do not get the error in the Access 2010 full version using an mdb or the Access 2010 full version or runtime using accdb. The close command relates to the form executing an event procedure. It successfully closeds the window.
"Execution of this application has stopped due to a run-time error.
The application can't continue and will be shut down."
Since I'm in runtime I need to go back to the old way of locating an error.
Below is the coding.
MsgBox "About to close window"
DoCmd.Close
MsgBox "Window closed. About to Open database window"
ShowDbWindow
MsgBox "Showdbwindow executed"
It fails at ShowDbWindow. I don't see the final message. ShowDbWindow is:
Public Sub ShowDbWindow()
DoCmd.SelectObject acTable, , True
End Sub
"Execution of this application has stopped due to a run-time error.
The application can't continue and will be shut down."
Since I'm in runtime I need to go back to the old way of locating an error.
Below is the coding.
MsgBox "About to close window"
DoCmd.Close
MsgBox "Window closed. About to Open database window"
ShowDbWindow
MsgBox "Showdbwindow executed"
It fails at ShowDbWindow. I don't see the final message. ShowDbWindow is:
Public Sub ShowDbWindow()
DoCmd.SelectObject acTable, , True
End Sub