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

TppReport.CreateAutoSearchCriteria() and Empty Expression

Hello,
I ve got a problem when I want to programmatically insert Search Criteria in my report.
All works very well except one particular case, when I want to filter data on a empty field.
I create a criteria with the fieldname, the operator type is Equal and I let the expression value empty.
I call TppReport.CreateAutoSearchCriteria() with these parameter
The resultd inside the report is not correct, data are not displayed, they should.
When I insert the same criterias inside the report from the report editor, it works !
Is there any thing I miss ?
Thanks for your answer !
Best regards
David.

Comments

Sign In or Register to comment.