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

Acessing parameters from a subreport

edited September 2005 in RAP
Hello,

How can I use main report parameters in a subreport from RAP ?

I'm using RB 9.

Best regards,
Denis Heliszkowski.

Comments

  • edited September 2005

    Access the childreport.MainReport property and typecast it as TppReport.


    Example:

    var
    lMainReport: TppReport;

    begin

    lMainReport := TppReport(Report.MainReport);

    lMainReport.Parameters.Count;


    end;

    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.