I try to use an update conflict logic as described in
Multi-user and Data Buffering Issues (20K) at
www.stonefield.com/pub/buffer.zipThis article recommends to use oldval() and curval() do dedect data changes.
However, in case of field overflow, this code wrongly reports that data
is changed.
In the following sample code, both llOtherUser and llThisUser fields are .T.
How to fix Doug's code ?
Why an VFP error does not occur in this code ? Is this a VFP bug?
close all
set multilocks on
create table test ( test n(1) )
insert into test values (10)
use in test
use test
cursorsetprop( 'buffering', 5 )
lcField = field(1)
llOtherUser = oldval(lcField) <> curval(lcField)
llThisUser = evaluate(lcField) <> oldval(lcField)
Andrus