Conditional Macro, Check for Lock on Table or Query

B

Beverly76

I have a macro that updates tables which are used to run a report.

I want to make sure none of the tables I am about to update are locked by
other users at the time I run the macro.

I thought of checking the directory for an ldb file, but my being in the
database creates the file - so that wouldn't work.

I'm looking for possible code to put in the macro condition column to check
table by table for locks.
 

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