Close Access Database

  • Thread starter Thread starter Cheickna Traoré
  • Start date Start date
C

Cheickna Traoré

Hi,

With VB Code, Is there any method to close an access database by using the
database name. For exemple c:\MyBase.mdb

Thanks
 
I'm not sure exactly what your asking - could you be a little more specific or provide an example of what you want to do?

Scott Shearer, MCSD, MCBDA
----- Cheickna Traoré wrote: -----

Hi,

With VB Code, Is there any method to close an access database by using the
database name. For exemple c:\MyBase.mdb

Thanks
 
Cheickna Traoré said:
With VB Code, Is there any method to close an access database by using the
database name. For exemple c:\MyBase.mdb

You can only close the MDB from which you are executing code or forms.
docmd.quit.

Or are you trying to do something else? What's your problem.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
Back
Top