Rahul Sharma

Rahul Sharma

  • NA
  • 15
  • 54.2k

Pass multiple values to parameter

Jan 8 2015 1:06 PM
Hello,
 
I've a crystal report  which is using table adapter from dataset to fill data.
I also have a parameter with type string and option as allow multiple values.
 
Can anyone please explain how I can pass multiple values from array to this parameter so that I will get desired result.
 
I have countryParameter as parameter for field country.
I want to display output only for "USA" and "UK" on report.
USA and UK are stored in one array.
 
In case of single parameter I can use it easily as
rep.SetParameterValue("countryParameter", "USA"); 
 
but not sure for multiple values.
 
Thanks,
Rahul.

Answers (5)