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