+ Reply to Thread
Results 1 to 2 of 2

Opening Access DB with /compact operator

  1. #1
    Registered User
    Join Date
    02-08-2005
    Location
    Kent, UK
    MS-Off Ver
    2010
    Posts
    69

    Question Opening Access DB with /compact operator

    I believe this is a questioned asked many times but I've yet to find a solution. I'd like to compact my Access DB before I run a few macros in it. I know there are various ways of doing this but everything I've tried doesn't work. I noticed that you can add /compact operator to a shortcut to the DB to open, compact and close the DB. So is there anyway you can run this? My current code is:

    Please Login or Register  to view this content.
    If I try and add the /compact operator either inside the speech marks our after it gives me an error. Any ideas if there is a way to get this working?

    I've had lots of problems running Access queries from Excel but swapped the Access queries to macros and that seems to work but I still get errors that are fixed once I compact the DB. I'd like the compacting to be automated. :-)

  2. #2
    Registered User
    Join Date
    02-08-2005
    Location
    Kent, UK
    MS-Off Ver
    2010
    Posts
    69

    Question Re: Opening Access DB with /compact operator

    Can anyone please help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1