DaveTappenden
Programmer
- Jan 16, 2002
- 21
- 0
- 0
I need to consider a record-locking strategy for my multi-user application (Access 2000 front-end, SQL Server 2000 back-end). Many of my forms are bound (eeeek) but in all cases they are bound to underlying queries that have returned (at most) a handful of records.
The default record locking in Access is pants. I don't want my user to be editing a record that someone else is already in. Also, it would be good if I could display which user is actually updating the record.
Can anyone suggest the best record-locking strategy?
I am seriously considering creating my own with boolean fields in each table that I can test and set when the user presses the edit control on a form. Has anyone done this or considered doing this and are there any pitfalls? My worry is system problems causing records to remain locked in error(e.g. if the user doesnt exit the form normally).
Any feedback would be most welcome
The default record locking in Access is pants. I don't want my user to be editing a record that someone else is already in. Also, it would be good if I could display which user is actually updating the record.
Can anyone suggest the best record-locking strategy?
I am seriously considering creating my own with boolean fields in each table that I can test and set when the user presses the edit control on a form. Has anyone done this or considered doing this and are there any pitfalls? My worry is system problems causing records to remain locked in error(e.g. if the user doesnt exit the form normally).
Any feedback would be most welcome