Retrive DB Actual Value
Posted: Wed 28 Apr 2010 08:50
I'm using TUniQuery (UniDac 3.0) to work with tables on my MySQL database.
I would like to know which is the best way to compare values before my changes, with the values on DB. (To inform the user).
Eg.
1. DB Value = A
2. Open Query: Field Value = A
3. I Modify the value on DBEdit Control = B
4. On the same time another user modify and confirm a new value = C
5. DB Value = C
6. I Confirm may change: I would like verify that the value on DB before my change was A and now is C.
Is it possible?
Thank you very much
I would like to know which is the best way to compare values before my changes, with the values on DB. (To inform the user).
Eg.
1. DB Value = A
2. Open Query: Field Value = A
3. I Modify the value on DBEdit Control = B
4. On the same time another user modify and confirm a new value = C
5. DB Value = C
6. I Confirm may change: I would like verify that the value on DB before my change was A and now is C.
Is it possible?
Thank you very much