m9s999
asked on
Crystal Reports Multivalue Parameter
I have a crystal report with a parameter that takes multiple values. I'm using the following code for some regular parameter fileds:
Dim Report As New CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument
Report.Load(ReportPath)
Report.SetParameterValue(x , "20")
How do I send multiple values?
Dim Report As New CrystalDecisions.CrystalRe
Report.Load(ReportPath)
Report.SetParameterValue(x
How do I send multiple values?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dim Params As New CrystalDecisions.Shared.Pa
Dim Value As CrystalDecisions.Shared.Pa
Value = New CrystalDecisions.Shared.Pa
Value.Value = CInt(10)
Params.Add(Value)
Value = New CrystalDecisions.Shared.Pa
Value.Value = CInt(20)
Params.Add(Value)
Report.SetParameterValue(1