>>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?
>
>
>Report preview has a memory leak in it. It was stated that this was fixed with VFP6/SP3, but that is incorrect. It's still there.
Fred,
See MS QB article Q216587 on this. It states:
"...The Visual Studio 6.0 Service Pack 3 readme erroneously lists this bug as being fixed. Service Pack 3 did not fix this bug."
George
Ubi caritas et amor, deus ibi est