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

passing parameters

edited September 2003 in General
Dear all,
I have a form containing my reports and data queries.
I have a form from which I call the reports. On this form are 2 date fields
allowing a date range to be selected. I want the value of these fields to
appear on the report.

For example the report field is a TppVariable, and the variable oncalc is:

value:=datetostr(datefrom.date);

What is the common way of passing these values to the report?

regards

--
John Evans
Managing Director
Clear Advantage Ltd

www.Clear-Advantage.co.uk

Comments

  • edited September 2003
    Hi John,

    Try using a JITPipeline to get the date data from the form to the report.
    You could either pull the values directly out of the pipeline and use them
    as a TppVariable or you could hook a DBText to the pipeline and have
    everything done automatically, including the toString operation. Check out
    Demos 136 - 140 located in the \RBuilder\Demos\1. Reports\... directory for
    examples of how to use JITPipelines.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.