Read-Only

B

Bryon

Hello,

Is there a "read-only recommended" opion hidden somewhere in Access?

If not, is there a way to determine if the database is open in read only
mode in VBA? By this, I do not mean the file attribute, but the /ro
commandline option, so GetAttr won't work.

Thanks.
 
V

Van T. Dinh

Yes, there is a /Ro switch in the MSAccess.exe command-line.

Check Access Help on "Command-line Options".
 
B

Bryon

Thanks, but I already know about that option (I actually mentioned it in my
post). However, changing every user's Windows file associations for MDB to
include /ro is not feasible.
 
V

Van T. Dinh

Your network people should be able to use the LogIn script to place a icon
with the command

{PathToMSAccess.exe} {PathToDatabase} /Ro

on the user's Desktop.
 

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