markftwain
Technical User
- Jul 12, 2006
- 108
Hi
I read from an optimistic table-buffered table, "encounters", into a custom object and then present the properties of that object to a form for editing.
This same record and form is then accessed by another user in a seperate run-time vfp session, i.e., this is a multi-user application.
The second user edits the record and saves it while the first user is editing the record.
It appears that when the second user saves the record, the table and the buffer of the first user is updated immediately. Thus for the first user, curval()= oldval() and I am unable to detect a conflict when user1 performs a tableupdate().
Bottom line: I need to detect exactly which fields user1 changed in a multi-user environment. What am I missing?
Additional information:
I am using vfp9, sp2
It makes no difference if the encounter form is using a private datasession or not.
I am not using cursor adaptors.
A thorough search reveals only one use of tablupdate() to save the object back to the disk and no uses of revert() anywhere.
Thank you for your consideration.
I read from an optimistic table-buffered table, "encounters", into a custom object and then present the properties of that object to a form for editing.
This same record and form is then accessed by another user in a seperate run-time vfp session, i.e., this is a multi-user application.
The second user edits the record and saves it while the first user is editing the record.
It appears that when the second user saves the record, the table and the buffer of the first user is updated immediately. Thus for the first user, curval()= oldval() and I am unable to detect a conflict when user1 performs a tableupdate().
Bottom line: I need to detect exactly which fields user1 changed in a multi-user environment. What am I missing?
Additional information:
I am using vfp9, sp2
It makes no difference if the encounter form is using a private datasession or not.
I am not using cursor adaptors.
A thorough search reveals only one use of tablupdate() to save the object back to the disk and no uses of revert() anywhere.
Thank you for your consideration.