Dictionary.StiDataSource SetFilter

Stimulsoft Reports.NET discussion
Post Reply
jleal
Posts: 1
Joined: Wed Apr 14, 2010 1:48 am
Location: zaragoza

Dictionary.StiDataSource SetFilter

Post 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
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Dictionary.StiDataSource SetFilter

Post 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.
Post Reply