Use Parameter with asterisk

Stimulsoft Reports.NET discussion
Post Reply
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Use Parameter with asterisk

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Use Parameter with asterisk

Post 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.
StixStax
Posts: 46
Joined: Wed Aug 12, 2015 9:41 am

Re: Use Parameter with asterisk

Post by StixStax »

Hey,

you guys are perfect. Thanks for the hint.

Cheers
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Use Parameter with asterisk

Post by HighAley »

Hello.

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

Thank you.
Post Reply