Code Examples For RunCommand Constants

Show the Debug Window

acCmdDebugWindow

This function can be used to add a Show Debug Window option to a custom menubar or toolbar in Access 97.

'***************** Code Start *******************
' Code by Terry Wickenden

Function ShowDebug()

  DoCmd.RunCommand acCmdDebugWindow

End Function

'****************** Code End ********************