I am attempting to filter the databand based on user selection.
I went through the tutorial here:
https://www.stimulsoft.com/en/videos?ta ... &type=list
This is exactly what I want. I believe I have the variables correct. 99% sure anyway.
The trouble is in the filter expression. "Products.RoomName == SelectedSeriesOnly | AllSeries"
I have tried this: "Products.RoomName = SelectedSeriesOnly | AllSeries" as well.
I'm guessing that the version this video was made with, and the version I'm using are different. Stands to reason that maybe the language changed a little.
DO I have a syntax issue here?
Thanks in advance!
Version 2017.1.6
Data band filter: Expression Expected
-
- Posts: 6256
- Joined: Tue Mar 20, 2018 5:34 am
Re: Data band filter: Expression Expected
Hello,
You should use the following expression:
"Products.RoomName = SelectedSeriesOnly || AllSeries"
https://demo.stimulsoft.com/#Net/Parame ... ingCountry
Thank you.
You should use the following expression:
"Products.RoomName = SelectedSeriesOnly || AllSeries"
https://demo.stimulsoft.com/#Net/Parame ... ingCountry
Thank you.
Re: Data band filter: Expression Expected
Thank you for your response!
I actually cam up with one I like more.
I used this expression in the filter "SelectedSeriesOnly.contains(Products.RoomName)"
Changed my variable "SelectedSeriesOnly" "to list", and removed the variable "AllSeries"
This loads all possible selections by default, and allows the user to select any combination they want from it.
Thanks again!
Chris
I actually cam up with one I like more.
I used this expression in the filter "SelectedSeriesOnly.contains(Products.RoomName)"
Changed my variable "SelectedSeriesOnly" "to list", and removed the variable "AllSeries"
This loads all possible selections by default, and allows the user to select any combination they want from it.
Thanks again!
Chris
-
- Posts: 6256
- Joined: Tue Mar 20, 2018 5:34 am
Re: Data band filter: Expression Expected
Hello
Ok.
Please let us know if you need any additional help.
Thank you.
Ok.
Please let us know if you need any additional help.
Thank you.