Hi
For the past year I have had trouble with intermittent C5 errors in an VFP 7.0 application. It has taken alot of work to find the cause but I am now a little closer. The problem also occurs in the VFP 8.0 beta because I tested it also.
It appears that VFP optimization has something to do with the problem. I had the following lines in a method which often experienced a C5 Error:
Scan For PID=ARTrn.ID.And.!EoF()
Delete Next 1
EndScan
I changed the line to :
Scan For PID=ARTrn.ID.And.!EoF() NoOptimize
Delete Next 1
EndScan
(I realize that I do not need the !Eof() clause it is a habit from the pre-scan days of FoxPro.)
Since I have made that change to turn off the optimization I have not received a C5 error in 17days and counting. Previously I would see some every week.
Is this a known issue or has anyone else experienced this problem?
Simon
Simon White
dCipher Computing