RDLC report parameters c#

Posted on 2011-03-09
Last Modified: 2013-11-27
One more question in continuation...What if the parameter value is not chosen in front end ..Then I want all values in dropdown to be passed...I guess the filter should be IN..and there should be  a check in frontend that if no value  is chosen--all the values in dropdown will be concatenated and passed.. Is this the way to do it or is there any otherway...
Question by:rishaan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Accepted Solution

puffdaddy411 earned 125 total points
ID: 35095856
Sounds like you are using a combo box on a form to select filters for your report, correct?  So if nothing is selected the table should display all records, correct?

What you need to do then is make your parameter a "MultiValue" parameter.  There is a checkbox on the parameter dialog box of your report.  Then you can pass a string array to the parameter.  Change your "=" to "IN" in your table filter.  This should work for a single value or multiple (all) values.  Just pass a string() array to the parameter with all of your desired values (or one).

Use this in your filter value.


Author Comment

ID: 35096515
Thanks  again..for correct understanding and perfect answer.
Since you are report specialist I wanted to ask you ..I wanted to create a MS-Access like strong filter functionality on the form and then generate reports accordingly.. What would ur suggestion be to proceed with it ? Or Has this kind of work already done by some one already..

Expert Comment

ID: 35096560
Do you have a picture of an example or a bit more detail of what you are doing?  Perhaps an example of the MS Access functionality you need?
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.


Author Comment

ID: 35099318
If u have a MS Access table open and it has the filter functionality on each column whcih cahnges data dynamically or in Excel where filters can be applied to column headers and they filter whole sheet on each selection....

Expert Comment

ID: 35099579
Ah I see.  Well you can't build this functionality into the local report itself.  Once the report is rendered, it is in its final state.  You can enable interactive sorting on columns to reorder them but that's about it.  If I needed to do this, I might use comboboxes on the form for each column and refresh the report on the combobox.SelectedIndexChanged event.  Or select the values of each combo box and refresh the form on a button click.  Again, you can't change the report once it's rendered, but you can manipulate the back-end data and refresh the report as much as you need.

Author Closing Comment

ID: 35109008

Featured Post

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question