clearing CreateAutoSearchCriteria
HI,
What is the function to clear out all criterias stored on a report?
the point is we deply reports and often forget to clear the search field and
when a particular data is in the field the report will not display the right
results. I mean at runtime I create those criterias and assign the right
values I want the report lost all the criterias if it has some.
thanks.
What is the function to clear out all criterias stored on a report?
the point is we deply reports and often forget to clear the search field and
when a particular data is in the field the report will not display the right
results. I mean at runtime I create those criterias and assign the right
values I want the report lost all the criterias if it has some.
thanks.
This discussion has been closed.
Comments
You can access the AutoSearch fields either using the
Report.AutoSearchFields property or by using the TdaSQLBuilder object
and clear out the SearchExpression value.
The best place to do this would be in a template event such as the
OnLoadEnd or OnSaveStart.
http://www.digital-metaphors.com/rbWiki/Design/Templates/Using_Template_Events
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com