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

Printing AutosearchValues

edited May 2005 in General
Hi All,
I am currently designing my reports using only dade. So my communication
between program and rb is being by autosearchvalues. So, i have a sales
report filtered by date. What is the best way for user to filter by date,
and the report print the user's filter?

Comments

  • edited May 2005
    Hi Carlson,

    Inside the AutoSearchDialogClose event, try checking the
    Report.AutoSearchFields[].SearchExpression property. Something like the
    following...

    if ppReport1.AutoSearchDialog.ModalResult = mrOK then
    ppLabel1.Caption := ppReport1.AutoSearchFields[0].SearchExpression;

    --
    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.