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

Using criteria entry to change other dataview search criteria

edited March 2008 in End User
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

Comments

  • edited March 2008
    Hi Alex,

    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

    Best Regards,

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