Page 1 of 1

Use Parameter with asterisk

Posted: Tue Nov 10, 2015 2:58 pm
by StixStax
Hey,

we are using the parameter function of stimulsoft to filter data columns and we love it. We allow the user also to type a string into the field. Is there a way to search for a substring in this field. I tried using asterisk (*) and pound (#) which didn't work. We are using Stimulsoft version 2012.1.1300 (3.April 2012).

Your help would be appreciated

Re: Use Parameter with asterisk

Posted: Wed Nov 11, 2015 6:17 am
by HighAley
Hello.

You could use any C# or VB.NET code (depending on selected Report Script Language). To check is any string contains a substring you could use next code:

Code: Select all

DataSource1.Column.Contains(subString);
Thank you.

Re: Use Parameter with asterisk

Posted: Wed Nov 11, 2015 4:07 pm
by StixStax
Hey,

you guys are perfect. Thanks for the hint.

Cheers

Re: Use Parameter with asterisk

Posted: Thu Nov 12, 2015 7:32 am
by HighAley
Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.