Record locks - How do I Avoid them?


G

Guest

I have a Macro that runs on a scheduler, it runs every 30 minutes and it
updates the our database.

The problem that I have is that if someone has that Table open, the macro
errors out and Locks the database.

what can I add to the macro to ignore the error and either loop until it
works or just ignore the error and close. it runs every 30 minutes and for
only a 10 hour period.

*** Side note, I want to go on vacation and not have to worry about taking
my Laptop to check for errors ***

Thanks,
 
Ad

Advertisements

G

Guest

the error is 3051, cannot open file, it is already open or you do not have
permissions.
 

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

Top