You do this exactly the same way you did with VFP data. Use TABLEUPDATE(). If it returns .F. you can use OLDVAL() and CURVAL() to test your view against what's in the server table. Make sure you don't use KEY FIELDS ONLY as the where clause type in your view. If you do, VFP will never detect a conflict.
>hi to all,
>
>how can I check update conflit on a client/server app ?
>
>to explain:
>- for update conflit I mean when the users A and B load the same record, does some modifies, then A save modifies, now if B save there is a update conflit
>- in a normal VFP app, before to do the TableUpdate() I check the update conflit testing OLDVAL(myfield, mytable) and CURVAL(myfield, mytable), how can I do this on a C/S app ? I don't want to lock a record when I load it.
>
>TIA
>Renato