Refreshing Indexes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm using Access 2002 and I'm wondering if there isn't a way to refresh all
the indexes to a table?
 
As long as the database (that you want to compact) is not open and in use
you can use

DBEngine.CompactDatabase

Check usage in help but basically you need to give it the database source
and the target

You will need to rename the target to the source to continue using it as
before.
 
....should have added you will find help on the CompactDatabase (DAO) in the
VB editor (2003).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top