daneb
August 9th, 2001, 08:22 PM
Hi.
I have a DBGrid which displays data from an Access 97 table through a Data Control. Our app is a multi-user system, therefore, it is expected that data in this grid may be modified by more than one user. The problem is how to detect that a user is editing a particular record on the grid, so that overwriting doesn't occur in case another user edits and updates the same record. I noticed that once you "get out" of a particular row on the grid, whatever changes you made in the data in that row will be automatically saved in the database. So, what DBGrid event or Data Control event will I use to know if a row is being edited to prevent multi-user update conflict?
Thanks for the info in advance!
I have a DBGrid which displays data from an Access 97 table through a Data Control. Our app is a multi-user system, therefore, it is expected that data in this grid may be modified by more than one user. The problem is how to detect that a user is editing a particular record on the grid, so that overwriting doesn't occur in case another user edits and updates the same record. I noticed that once you "get out" of a particular row on the grid, whatever changes you made in the data in that row will be automatically saved in the database. So, what DBGrid event or Data Control event will I use to know if a row is being edited to prevent multi-user update conflict?
Thanks for the info in advance!