I have a report that does a lot of calculations.
I'd like to cache the entire report before the preview window is
displayed. Sort of run it from beginning to end without the user seeing
it and caching turned on, and only then bring up the preview window.
Comments
cache, then print it again:
uses
ppDevice;
var
lDevice: TppDevice;
begin
ppReport1.DeviceType := dtScreen;
lDevice := TppDevice.Create;
lDevice.Publisher := ppReport1.Publisher;
lDevice.PageRequest.PageSetting := psAll;
ppReport1.CachePages := True;
ppReport1.PrintToDevices;
lDevice.Free;
ppReport1.Print;
end;
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
lDevice := TppDevice.Create(self)
but it does work. Thanks.
it out...
--
Cheers,
Tom Ollar
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com