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

Displaying autosearch values

edited February 2004 in General
Hi

I have called a reoprt from within my code and passed to it certain search
criteria.

These criteria are Dates (between date X and date Y) and a list string.

The report works perfectly but I want display Date X and Date Y in variables
in my header as
label [Dates From :] Variable [Date X]
label [Dates To :] Variable [Date Y]

What event handler do I use and what is the code to write in it to do what I
want.

Comments

  • edited February 2004
    Hi Allan,

    You're going to want to use the OnGetAutoSearchValues event of the report to
    access the TppReport.GetAutoSearchDescriptionLines property and use this
    TStringList to display the values in your report. See the ReportBuilder
    help for more information on this event and property. Check out the events
    and properties for the TppReport object.

    --
    Best Regards,

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