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 a parameter
rbuser
January 2004
edited January 2004
in
RAP
Hello,
How should i acces a report-parameter in rap, this code is put on the OnCalc
event of the ppVariable. But the value set in de parameter is never picked
up.
Value := Report.Parameters.Items['ppRepDate'].Value;
Kinds Regards
Harry
Comments
nardmoseley
January 2004
edited January 2004
From the RBuilder.hlp topic for TppReport.Parameters:
The Delphi code syntax for accessing a parameter value is
myReport.Parameters['ParameterName'].Value
RAP code supports the above syntax, plus the following shorthand syntax
myReport.Parameters['ParameterName']
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
This discussion has been closed.
Comments
From the RBuilder.hlp topic for TppReport.Parameters:
The Delphi code syntax for accessing a parameter value is
myReport.Parameters['ParameterName'].Value
RAP code supports the above syntax, plus the following shorthand syntax
myReport.Parameters['ParameterName']
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com