none
How To Set A Multi-Value Parameter From A CheckListBox? RRS feed

  • Question

  •  

    Hello,

     

    I am creating a local report and wish to filter the results by the items which a user checks in a CheckListBox.

     

    I have created the CheckListBox on the Form above the RevportViewer and populated the list. I have defined a Parameter ("Devices") in the rdlc file and set it to be Multi-Value, I guess I should do this.

     

    I have created a method which is called on CheckListBox.SelectedValueChanged which currently creates an array populated with the items currently 'Checked' in the CheckListBox.

     

    How should I pass this into the parameter and then setup the Filter using my Field Devices in the report?

     

    Thank you.

     

    Regards

    Tuesday, May 6, 2008 2:47 PM