Using criteria entry to change other dataview search criteria
Hi,
I have a report which has 3 data views. The 2 sub data views have date
selection. I am allowing the user to enter a date period for the first data
view. In RAP can I then use the dates selected in the first data view for
the second data view. The result is I would like to not have to have the
user enter the from and to dates twice in selection criteria display.
RB7.03
Thanks
Alex
I have a report which has 3 data views. The 2 sub data views have date
selection. I am allowing the user to enter a date period for the first data
view. In RAP can I then use the dates selected in the first data view for
the second data view. The result is I would like to not have to have the
user enter the from and to dates twice in selection criteria display.
RB7.03
Thanks
Alex
This discussion has been closed.
Comments
In order to do this you will need to manually create your own autosearch
criteria after the first values are entered. Examples of creating your own
autosearch criteria in code can be found in the
\RBuilder\Demos\Autosearch\... directory.
The latest version of ReportBuilder includes the TdaSQLBuilder object that
allows you to manipulate the SQL object and create criteria very easily from
Delphi or RAP. I strongly recommend considering an upgrade to make this
process easier.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com