variables are being ignored in a filter

Stimulsoft Reports.WEB discussion
Post Reply
erikbrandvig
Posts: 25
Joined: Tue Apr 26, 2011 1:01 pm
Location: Vista, CA

variables are being ignored in a filter

Post by erikbrandvig »

i am attempting to filter a data band using a variable that is being passed. this was working previously.

here is my very simple report structure, you can see that the static integer "75" is working correctly for the filter.

Image

and produces these results.

Image

now i'm going to describe a variable inside the report builder and use that instead.

Image

i have tried the values "Variable1" and "{Variable1}".

Image

the filter is being ignored, as you can see...

Image

am i doing something wrong?

thanks for your help.

erik
Attachments
1130.variablesInAFilter.mrt
(23.47 KiB) Downloaded 176 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

variables are being ignored in a filter

Post by Ivan »

Hello,

Please set the "Field is" combobox to the "Expression" and use the following expression:

Code: Select all

DataSource.EmployeeID_Count >= Variable1
Thank you.
Attachments
1133.filter1.gif
1133.filter1.gif (8.61 KiB) Viewed 1023 times
Post Reply