Hi Walter
coming back to an older message
>>the tableupdate problem
>>tableupdate() returns .T. if the cursor itself is updated. This does not mean it is written to the source. You would need something like
>>
>>llx1 = TABLEUPDATE()
>>llx2 = _TALLY#0
>>
>
>I thought this only was a problem in VFP8 and resolved in VFP8SP1. No?
>
>In VFP9SP1 Tableupdate returns .F. when I try to tableupdate a change while the change was rejected by the backend.
I have played around and found my CA working as I suppose it. Then (assuming that something has changed without me catching it) I searched around and found
ConflictCheckType. If I set it to 1 it
TableUpdate returns false and AERROR() returns error 1585 or the like.
If
ConflictCheckType is set to TABLEUPDATE() and the UPDATE to the backend fails, the CA will be updated (
GetFldState(-1) returns all 1) while
ConflictCheckType set to 1 will not update the CA
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]