Hello, all.
New MS Access database rolled out 2 months ago - split into front end and back end. Each user has their own front end application. Average number of users is probably 2-4 simultaneous. Application is working great except...
I am getting odd Query Update error for lock violations. This is not happening in any consistent area of code but seems to be in general when a user is really 'bouncing around' and performing a lot of updates with a common Primary record. (i.e. updating 6 child records [not on a continuous form], all with the same parent record).
Before I ask my question - let me say that each time I open a record (form), I set a field [txtRecordOpenSt atus] to "Open - User Name" and then each time I close a record, I update the field to "Closed". I use this to prevent 2 users from accessing the same record. (my code throws an message - "You cannot access that record because Gunner has it open.")
So, with that said, my question is this - is it wise (dangerous?) to set the back end record locking to "no locks". It is currently set to "edited record".
I'm considering this as an option to alleviate this problem as I'm just not finding any rhyme or reason for the query errors. (image attached)
Thanks in advance for any insight and/or advice.
Gunner
[imgnothumb]http://bytes.com/attachment.php? attachmentid=75 67[/imgnothumb]
New MS Access database rolled out 2 months ago - split into front end and back end. Each user has their own front end application. Average number of users is probably 2-4 simultaneous. Application is working great except...
I am getting odd Query Update error for lock violations. This is not happening in any consistent area of code but seems to be in general when a user is really 'bouncing around' and performing a lot of updates with a common Primary record. (i.e. updating 6 child records [not on a continuous form], all with the same parent record).
Before I ask my question - let me say that each time I open a record (form), I set a field [txtRecordOpenSt atus] to "Open - User Name" and then each time I close a record, I update the field to "Closed". I use this to prevent 2 users from accessing the same record. (my code throws an message - "You cannot access that record because Gunner has it open.")
So, with that said, my question is this - is it wise (dangerous?) to set the back end record locking to "no locks". It is currently set to "edited record".
I'm considering this as an option to alleviate this problem as I'm just not finding any rhyme or reason for the query errors. (image attached)
Thanks in advance for any insight and/or advice.
Gunner
[imgnothumb]http://bytes.com/attachment.php? attachmentid=75 67[/imgnothumb]
Comment