How to programmatically close an Access Database

  • Thread starter Thread starter Dom
  • Start date Start date
D

Dom

Could anyone tell me how to close an access database
programmatically?
I tried DoCmd.Quit, but it doesn't do anything.
 
Dom said:
Could anyone tell me how to close an access database
programmatically?
I tried DoCmd.Quit, but it doesn't do anything.

It should, if executed from within the Access application you want to
close. Are you trying to close the current Access application, or
another instance of Access to which you've gotten an object reference,
or are you trying to close a Database object that you've opened using
OpenDatabase, or what? Maybe you should show your code, in context.
 
Back
Top