>VFP 6.0
>
>CURSORSETPROP("Buffering",3,0)
>
>As the above is what I am using in the main.prg, that's it. Now, we caught a problem (that I didn't think of). What to do when two (or more) user have the same from open and both are in edit mode, then both of users saves it...
>
>If I remember correctly, in FPW 2.6, I had to do somewhat a little coding on that to see if the data was changed, but that was in 2.6 days. What am I overlooking at this point? The error message is what the title says.
>
>Chuck
This is precisely the error checking that VFP does when you use optimistic buffering.
If TableUpdate() fails for the second user, the program should issue TableRevert(), refresh the form, and the user should start editing again.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)