I tested this using RB 10.04 (the latest release and it worked). I tested the Report.OnInitializeParameters and the Report.BeforePrint and both worked.
If you try to do this later in the report generation process, you need to set Report.Engine.Page.PrinterSetup, which is not recognized by RAP and therefore requires a custom pass thru function.
-- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
I tested this using RB 10.04 (the latest release and it worked). I tested
the Report.OnInitializeParameters and the Report.BeforePrint and both
worked.
If you try to do this later in the report generation process, you need to
set Report.Engine.Page.PrinterSetup, which is not recognized by RAP and
therefore requires a custom pass thru function.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com