>well i dindn't know that. normaly i am not a belt-and-suspenders type but >if there is no perfomance loss, hey why not, just to be safe.
I dont know, I got that quote from the Hacker's guide to vfp. But I tried it just the same.
>hmm, then i don't know. i would try (just for the heck of it) to take the >for clause out of the scan command and see what happens, to try to 'fence >in' the problem.
I removed the for clause and I've isolated the code, but it is still occuring. The following code creates the same issue
SCAN
SCATTER memvar
SELECT 'dieactualdata'
LOCATE FOR dieactualdata.jobnum=m.jobnum AND dieactualdata.itemnum=m.itemnum
IF FOUND()
GATHER MEMVAR
endif
endscan