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

Constant/Variables from Application into RAP

edited December 2008 in General
I would like to access constants/variables declared in my application inside
RAP.
How can this be done?
Any demos/examples are very much appreciated.

Regards
Petter Topp
Windows Vista, D2007, RB Ent. 10

Comments

  • edited December 2008

    One approach is to declare Report.Parameters. Set the parameter values in
    your application. Then the RAP code can access the parameter values.

    Another approach is to use a JITPipeline with a RecordCount of 1. Define a
    Field to represent each value. Then inside the Report you can access the
    values via the synatax, JITPipeline['FieldName']

    You can also extend RAP with custom functions. This open things up to
    implementing other schemes.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

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