Memory Issue with Preview Control

I have an app that uses the preview control. As the user scrolls through
the records on screen, the report is run to show the current customers info
and it is displayed in the preview control. If I watch the amount of free
memory as I scroll through the records, it steadily decreases. The issue
seems to be related to images that are on the report. If I remove the
images the amount of free memory does not decrease. I have tried 2
different methods of displaying the images (passing the report a path to the
image and using the drawing() function, passing the image as part of the
datatable) and both seem to have the same result. Is there some kind of
cleanup I need to perform before displaying the report for the current
record or is there a bug in the preview control?

Thanks,

Tim

Is there some kind of
cleanup I need to perform before displaying the report for the
current
record or is there a bug in the preview control?

It sounds as if you’re doing it all right - I don’t know of such a
problem, you need to ask combit…

Paulchen