I am new to Stimulsoft Reports. I have been trying to follow a video on the site explaining how to set a simple list with a Country parameter.
I have tried to duplicate the process but using state instead of countries. In my filter expression I have the following:
states_list.state_abbr = State | AllStates
I get an error that there is an illegal character in the filter. It appears to not like the " | " symbol. I have looked in the documentation and the forum. Based on the video this appears to be correct but its not working.
What should be the proper syntax for VB.Net or C#. I just can't seem to find it.
Thanks
JohnW
Variable Separator in Filters
Re: Variable Separator in Filters
Hello, John.
Please, try to use || if you are using C# report language
or this expression if you are using VB report engine:
Thank you.
Please, try to use || if you are using C# report language
Code: Select all
states_list.state_abbr = State || AllStates
Code: Select all
states_list.state_abbr = State OR AllStates
Re: Variable Separator in Filters
Thanks I will give that try.
I tried the VB method and it works. Now I can build from there.
Thanks again for the help!
I tried the VB method and it works. Now I can build from there.
Thanks again for the help!
Re: Variable Separator in Filters
We are glad to help you, John!