We produce approx 200 reports/statements, roughly 1000 - 1200 pages. Each report is based on cursor, as follows:
for nNum=1 to n
create cursor
report form myreport preview
sele cursor
use
endfor
After nNum reaches 70 to 90 (it varies each time), we got an VFP error message: "There is not enough memory to complete this operation" and program goes KAPUT. Debug shows that death occurs on the "report form" statement. When death occurs the program takes the report to the point where we see the white background of the report in the preview window (without any of the report detail) and then the Fox error message appears.
We are running on a PIII-500, 128MB RAM and plenty of free Hard Disk. Can anyone give us a clue on this?
Jim Finger