Compact database from VBA

  • Thread starter Thread starter Reehka
  • Start date Start date
R

Reehka

I have DB1 and DB2. I would then like to compact DB2 from
the VBA-code in DB1.

How is that done?
 
Use the CompactDatabase method of the DBEngine object (requires that a
reference be added to DAO 3.6 if you're using Access 2000 or 2002)
 
Thanks.

Could you please explain the parameters - my help does not
work properly (and reinstalling is not helping...)
 
Back
Top