Closing Access using command line switches???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • accessjunior
    New Member
    • Nov 2006
    • 4

    #1

    Closing Access using command line switches???

    I was wondering if there is any way to close Access using command line swithes? Currently I have a batch file that calls the .mdb runs a macro and compacts, then I would like to close it.

    Any suggestions?

    Thanks.
    DL
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32669

    #2
    I assume that you do the Compact of the database within the macro.
    Just add a Quit macro command at the end of the macro after the compact.

    Comment

    • accessjunior
      New Member
      • Nov 2006
      • 4

      #3
      Thanks works perfect...somet imes its just that simple.

      Comment

      Working...