Page 1 of 1

Filter

Posted: Mon Jun 12, 2006 3:20 am
by Alex Horn
Can I set filters for the report in runtime?

Thanks.

Filter

Posted: Tue Jun 13, 2006 4:25 am
by Edward
Please use following code:

StiDataBand band = stiReport1.GetComponents()["DataBand1"] as StiDataBand;
band.Filter.Value = "{Category.CategoryName==\"Beverages\"}";
stiReport1.Compile();
stiReport1.Show();

Filter

Posted: Tue Jun 13, 2006 4:55 pm
by Alex Horn

Its works! Thanks.