passing parameters
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com