Wildcard on Filter Expression on Data from Other Data Source

Stimulsoft Reports.NET discussion
Post Reply
bhodgson
Posts: 10
Joined: Tue Jun 10, 2014 3:08 pm

Wildcard on Filter Expression on Data from Other Data Source

Post by bhodgson »

Please tell me how I can use a wildcard expression when creating an expression as part of a filter on a data source (data source is a "data from other data source".

This particular filter is part of a sequence of filters with various AND/OR branches therefore I need to use an expression.

As an example, lets say I need to filter to any names containing the words John, and would expect the following name to be included by my filter: "Robert John Smith"

Thanks,
Ben
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Wildcard on Filter Expression on Data from Other Data So

Post by Alex K. »

Hello, Ben

You can set the "Expression" type for the filter and use the necessary expression. In this case Contains() function:
DataSourceName.ColumnName.Contains("John")

Thank you.
Attachments
Capture.PNG
Capture.PNG (28.6 KiB) Viewed 1046 times
Post Reply