Retrieving search criteria for Report Title
Hi,
I was wondering if it was possible to retrieve the user entered criteria for
auto search so that I can modify the Title of the report dynamically. For
example, I defined an auto search on Response field and the user entered
'N', The title will become 'All Invitees That Are Not Attending'.
Thanks.
Trhia
I was wondering if it was possible to retrieve the user entered criteria for
auto search so that I can modify the Title of the report dynamically. For
example, I defined an auto search on Response field and the user entered
'N', The title will become 'All Invitees That Are Not Attending'.
Thanks.
Trhia
This discussion has been closed.
Comments
You need to use the Report.OnGetAutoSearchValues event to retrieve the
criteria entered. From there you can then use these values to change any
value you need inside the report before it generates. See the ReportBuilder
help for the OnGetAutoSearchValues event for more information.
Also, be aware that there is a Report.GetAutoSearchDescriptionLines
procedure available to retrieve the autosearch criteria descriptions in a
TStrings object in order to display them in a report memo.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Trhia