Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is it possible to pass multiple value on a parameter value?
like

Name
Bert
Ron
Steve

my code is like this

VB
Dim report as New ReportDocument
dim names() as string = {"Bert","Ron","Steve"}
report.SetParameterValue("Name",names)


Update:

I only show the 1st item of the array which is Bert
Even if I check Allow multiple values and (Discrete and range Values) It only display the 1st index :(
Posted
Updated 2-Apr-13 18:59pm
v2
Comments
PIEBALDconsult 2-Apr-13 23:04pm    
Not enough information. You may have left off a tag or two. What is a ReportDocument?
iMaker.ph 3-Apr-13 4:16am    
its for the Crystalrepot reference
Deependra Khangarot 2-Apr-13 23:58pm    
Yes, It is possible and you are using correct syntax. Are you getting any exception?
Please provide more information.
Sergey Alexandrovich Kryukov 3-Apr-13 0:43am    
Please don't post non-answers as "solution". It can give you abuse reports which eventually may lead to cancellation of your CodeProject membership.
Comment on any posts, reply to available comments, or use "Improve question" (above).
Also, keep in mind that members only get notifications on the post sent in reply to there posts.
—SA
iMaker.ph 3-Apr-13 0:58am    
sorry for my mistake

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900