Guest_imported
New member
- Jan 1, 1970
- 0
Hi!
I'm very confused about, how to resolve this problem!
Need to update one selected record from a recordset. The scenario is the following: after selecting the desired record, appears a form with all the fields holding their actual values.(input type=text), and a submit button. After changes are made, (submit) I have an update command,which updates all the fields from that record whith the new values. Everything is OK, unless when 2 users simultaneosly updates the same record, the result will be (logic) the data from the user who clicked the submit button later then the other. And this is not very correct, for example if the first user modified a single field (A), the second modified an other field (B), the first modification (field A) will be lost.
How can I resolve this problem, by locking the record?
Or by modifying only one field in a form?
I don't know very much about locking, please give me some clues!?
I'm very confused about, how to resolve this problem!
Need to update one selected record from a recordset. The scenario is the following: after selecting the desired record, appears a form with all the fields holding their actual values.(input type=text), and a submit button. After changes are made, (submit) I have an update command,which updates all the fields from that record whith the new values. Everything is OK, unless when 2 users simultaneosly updates the same record, the result will be (logic) the data from the user who clicked the submit button later then the other. And this is not very correct, for example if the first user modified a single field (A), the second modified an other field (B), the first modification (field A) will be lost.
How can I resolve this problem, by locking the record?
Or by modifying only one field in a form?
I don't know very much about locking, please give me some clues!?