I dropped a textradev thing on my form and set allowprinttofile to true on the report in the demo of end-user reporting. But I still can't print to a file. do i need to turn something else on?
Okay now i see that i only can't print to file for templates i created before i added this feature. How can i get the old templates to allow printing to file?
Comments
I also noticed i cant' print to file regardless of whether or not i'm
using extradevices.
Okay now i see that i only can't print to file for templates i created
before i added this feature. How can i get the old templates to allow
printing to file?
procedure LoadEndEvent(Sender: TObject);
begin
ppReport1.AllowPrintToArchive := True;
ppReport1.AllowPrintToFile:=True;
end;
and then in OnCretae (of Form or DM) wgere your RB is placed:
ppReport1.Template.OnLoadEnd := LoadEndEvent;
This will override all templates to have ability to print to File!
Ben!