Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Paramaters in ASP.NET

Status
Not open for further replies.

zmcanally

Technical User
Jun 12, 2002
26
US
I have several reports in ASP.NET developed w/ the integrated version of Crystal Reports (I believe it's a scaled down version of 9) One of the reports has a discrete paramater that can accept multiple values. I am having issues passing more than one paramater to it - after the following loop finishes, the only paramater passed is the last one. I'm sure it's because I keep resetting the current value, I just can't seem to find a way to add multiple values. (rptIncidentDetails is a report document component) - Any help would be appreciated.

Zack

Code:
NumIDs = Request.QueryString.GetValues("NumIDs")(0)
For i = 0 To NumIDs
    Dim item(i)
    item(i) = Session("ID" & i)               
    rptIncidentDetails.SetParameterValue(0, item(i))
Next
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top