Page 1 of 1

Dictionary.StiDataSource SetFilter

Posted: Wed Apr 14, 2010 1:49 am
by jleal
Hello, I want to filter StiDataSource before rendering, I try SetFilter function, and it filters correctly de datasource, but I have to do it after rendering, so the report is already with all data. How can I filter the data before rendering and before retrieving it from database?.

Thank you

Dictionary.StiDataSource SetFilter

Posted: Thu Apr 15, 2010 3:07 am
by Jan
Hello,

Why not set filers in report designer? If you need do this in report code you can use BeforePrintEvent of first page.

Thank you.