myReportDocument.SetParameterValue("DeptName", "ABC")
But what happens if I want to show records for department ABC, DEF and GHI?myReportDocument.SetParameterValue("DeptName", "ABC")
myReportDocument.SetParameterValue("DeptName", "DEF")
myReportDocument.SetParameterValue("DeptName", "GHI")
Or this:
myReportDocument.SetParameterValue("DeptName", "ABC,DEF,GHI")
Or something completely different?ASKER
CodeCruiser:This is what I thought, but the description in the Help file suggests that you can only pass strings or integers.
What it means is that you have to pass in a ParameterValues collection as the second parameter of SetParameterValue.
Visual Basic .NET (VB.NET) is an object-oriented programming language implemented on the .NET framework, but also supported on other platforms such as Mono and Silverlight. Microsoft launched VB.NET as the successor to the Visual Basic language. Though it is similar in syntax to Visual Basic pre-2002, it is not the same technology,
TRUSTED BY
If so you just add them 1 at a time.
I believe you use the AddParameterValue method.
mlmcc