Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Posts
    989
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Compacting Databases (Access 97)

    I need to Compact a database using code, but I can't do this while the database is open. How can I close the database, compact it and re-open it? Andy

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Compacting Databases (Access 97)

    See Why CompactCurrentDatabase doesn't work from code on Dev Ashish's Access Web for some ideas.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •