A simple question about filtering

Stimulsoft Reports.WEB discussion
Post Reply
User avatar
Buknoy Palaboy
Posts: 48
Joined: Fri Jun 22, 2012 1:34 am
Location: Philippines

A simple question about filtering

Post by Buknoy Palaboy »

Hi Stimulsoft Team,

I was just wondering how to use a "string variable range type" in filtering? Can you give an example c# line of code on what to put in the filter data setup screen.

Example
If a have a list of products in my database and I want to filter the report where:
Product From "Camembert Pierrot" To "Chocolade"

Given I have this number of records:
Alice Mutton
Aniseed Syrup
Boston Crab Meat
Camembert Pierrot
Carnarvon Tigers
Chai
Chang
Chartreuse verte
Chef Anton's Cajun
Chef Anton's Gumbo Mix
Chocolade
Côte de Blaye
Escargots de Bourgogne
Filo Mix
Fløtemysost

Please note that their may be thousands of products in my database so "string variable list type" is not an option.

Regards and Thanks,
Buknoy


By the way, while doing the test on the new Stimulsoft MVCViewer without flash player, I tried to populate a particular table in our database with 100 thousand plus records and to my surprise the report viewer can now handle such a large data. Congratulations to all of you! Cheers! :D
User avatar
Buknoy Palaboy
Posts: 48
Joined: Fri Jun 22, 2012 1:34 am
Location: Philippines

Re: A simple question about filtering

Post by Buknoy Palaboy »

Hi Stimulsoft Team,

I was able to do some trial and error on how to use it and was successful in doing so. Here's my line of code:

ProductListVariable.Contains(Products.ProductName)

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

Re: A simple question about filtering

Post by Alex K. »

Hello,

Thank you for the information.
Post Reply