Prevent Access Opening Twice

A

Alan Z. Scharf

1. I need to prevent users from opening two instances of Access ADP. I'd
like to do this in VBA.

2. Ideally, in startup window of app, there would be code to close app if
that Access app is already open.

How can I do this?

Thanks.

Alan
 
A

Alan Z. Scharf

Allen,

Thanks very much. That did the trick.

One more question:

Is there also a way to prevent the message dialog:

The application will be opened in read-only.....

I'm running this from Autoexec macro.

Thanks again.

Alan
 

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