Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Best way to disable any kind of caching?

edited August 2001 in General
Hi,
I have a TppReport component and a dataset connected to it, I go back and
forth changing the current record here and printing the report there, now I
had some caching problems, where the reports keep getting printed same as
first report, so I did the following:

with rbReport do begin
CachePages := False;
Reset;
ResetDevices;
Print;
end;

is this the best way? is it enough? is it too much?
Note: Template is loaded only once at the beginning, if this makes any
difference at all.

Thanks!

Comments

This discussion has been closed.