Hi,
I have created a multi user access 2007 database, which has a front end and a back end. On a form we have some multi value combo boxes..... now if person A opens the database from the front end software on their desktop, opens the form and opens the multivalue box and makes a change (clicks the OK button in the multivalue box) - everything is fine for them....
However, if person B now comes along and opens the front end from the link on their desktop, opens the form, opens the multi value box and makes a change, clicks OK - they receive:
Could Not Update. Currently Locked By 'xxx' on Machine 'xxx'
If Person A goes to File -> Save, and saves the record, Person B is then fine, however if person A forgets to save and leaves their frontend open, no one else can do anything...
Any ideas anyone?
Cheers
You have two basic choices:
1. Switch to optimistic locking (no locks setting in the forms, which means no edit locks, not there is no locks at all).
2. Training users and/or setting the form to close after a period of inactivity.
#1 is some what of a problem because if two users edit the same record, one has the potential to overwrite the edit of the other (you get a dialog box asking what you want to do, and most save their changes).
#2 is a better approach I think. To see how to do that, checkout this MSKB article:
How to: Detect User Idle Time or Inactivity
http://msdn.microsoft.com/en-us/library/office/ff192885.aspx
Jim.