I'm trying to update records that have been printed (the cursor "workorders" contains the work orders that have been printed). The records in the main table need to have a flag set so that they do not print again. The following code works perfectly when I'm debugging, however when running as an EXE nothing is updated, and it looks like the scan is not processing anything.
select workorders
go top
scan while !eof()
select WOMaster
seek workorders.WONumber order tag WONumber
if found()
replace WOMaster.WOPrinted with .t.
endif
select workorders
endscan
Any observations or suggestions would be appreciated!
____________________________________________
Norm Peterson
It's a dog eat dog world out there,
and I'm wear'n milk bone underware!