What is difference between TdaCriteriaOperatorType and TppSearchOperatorType
What is difference between TdaCriteriaOperatorType and TppSearchOperatorType
and when does one use them. I found this while dealing with
AutoSearchFields.
Add AddCriteriaField uses TdaCriteriaOperatorType
But TppCriteria(AutoSearchField.Criteria).Operator := doesn't seem to have any effect on the query
Do I have to use AutoSearchField.SearchOperator instead?
I'm very confused, please direct me here.
and when does one use them. I found this while dealing with
AutoSearchFields.
Add AddCriteriaField uses TdaCriteriaOperatorType
But TppCriteria(AutoSearchField.Criteria).Operator := doesn't seem to have any effect on the query
Do I have to use AutoSearchField.SearchOperator instead?
I'm very confused, please direct me here.
This discussion has been closed.
Comments
object. The difference is that the autosearch field is created from the
autsearch criteria objects in DADE. DADE search criteria are persistent.
They are saved down with the report definition. When you run the report,
the search criteria are used to create autosearchfields on the report at
runtime. In order for your search operator to have an effect, you need to
set it on the appropriate autosearch field in the Report.AutosearchFields[]
array.
Cheers,
Jim Bennett
Digital Metaphors Corp.
http://www.digital-metaphors.com
info@digital-metaphors.com