I have tried using all methods I can think of, but the data will not
save.
The code pulls data from a table, runs it through calculations, then
resaves it to the table. The data will not re-save to the table;
however, if I debug (set step on), it works. I tried slowint the scan
down. I tried using begin transaction, end transaction but it still
doesn't save.
The code is something like the following (too long to include the
whole scan). This code is not in a screen nor is it user dependent for
any interaction. I tried removing the the buffering and the
multilocks. Nothing works. It use to work, then 'out of the blue' it
stopped working. Any ideas?
scan
code stuff going on
lnvariable = filename.value1
run computations on lnvariable and save to lnvariable2
set multilocks on
cursorsetprop('buffering',5,'filename')
replace filename.field2 with lnvariable2
=tableupdate(.t.,.t.)
more code stuff going on
endscan