Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
RAP
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Acessing parameters from a subreport
rbuser
September 2005
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
nardmoseley
September 2005
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.
Comments
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