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

Acessing a parameter

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

  • 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.