Hi.
I know that this question is a little silly :dumb: but i cant get this one working.
Im trying to filter a databand in runtime and the filter expression issomething like this:
StiDataBand band = Reporte.GetComponents()["Data"] as StiDataBand;
band.Filter.Value = "{SUCURSAL.Actual == True}";
Reporte.Compile();
Reporte.Show();
But when trying to compile the report it gave me the error CS0103.
How can u instruct that the "True" is a value and not a component?
Or is something different.
I already make the question in support but recieved no answer. I hope over here u could help faster =)
Thanks
Best Regards
Filter
Filter
What version of StimulReport are you using?
The StiDataBand.Filter property has been marked as deprecated for some time now.
However if you are using an older version and your Reports are in c# format try setting your filter to the following:
The StiDataBand.Filter property has been marked as deprecated for some time now.
However if you are using an older version and your Reports are in c# format try setting your filter to the following:
Code: Select all
band.Filter.Value = "SUCURSAL.Actual == true";