Community discussion forum

Compacting a locked MDB

  • 2 years ago

    Hi,

    I push a lot of information down to an Access DB nightly and becuase of the way Access INSERTS and UPDATES the DB size is going crazy very quickly.

    My problem is that the Access DB is constantly locked by a further application.

    What I need to do is automate clearing the locks on the MDB and compacting the database.

    Any ideas?

    Thanks in advance.

    Tom.

  • 2 years ago

    Microsoft has a utility that is called ldbview.

    There is also a dll where you can do similar thing from codel.

    For more information see:

    http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnaraccessdev/html/ODC_MicrosoftOfficeDeveloperForumMicrosoftAccessUnderstandingMicrosoftJetLocking.asp

     

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback