Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why is code opening a Project in Read Only

Status
Not open for further replies.

johnmidcap

Programmer
Oct 12, 2009
7
0
0
US
Hello.

I'm a long term Access 2000 & 2003 programmer and just recently our company moved to Access 2007.

A large mde (split fe and be) that we upsized to SQL, allows a user to login and then opens the Project again using the code below. The empid = 1 which runs a piece of code. The problem is that the Project is being opened as Read Only. Can anyone explain why?

Thanks,

John

stAppName = "MSAccess.exe """ & CurrentProject.Path & "\" & CurrentProject.name & """ /cmd " & empid
 
You say "opens the project again" - so are you opening up two instances of the front end at the same time?

If a front end is already open (by the current or other user) then subsequent users will get a read only warning (which relates to changes to the front end, not the data on the server).

I've always gone for a distributed front end which avoids this "issue"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top