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

extradevices in end-user reporting

edited July 2004 in End User
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?

Comments

  • edited July 2004
    Chris M wrote:

    I also noticed i cant' print to file regardless of whether or not i'm
    using extradevices.
  • edited July 2004
    Chris M wrote:

    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?
  • edited July 2004
    define this procedure:

    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!

  • edited July 2004
    Thanks!

This discussion has been closed.