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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp classic passing multiple Parameters

Status
Not open for further replies.

LooseUnit

Technical User
Jan 9, 2007
8
AU
Hi,

Using Crystal 11 & Classic ASP.
I am trying to pass multiple values for my second parameter to my crystal report.
have becom a little stuck as there is little on goolge to assist.
Current code:

If Request.Form("CMU")="" Then
session("oRpt").ParameterFields(1).AddCurrentValue(0)
'SelectionText = SelectionText & "No Tax"
Else
session("oRpt").ParameterFields(1).AddCurrentValue(Cint(Request.Form("CMU")))
End If

session("oRpt").ParameterFields(2).EnableMultipleValues = True
session("oRpt").ParameterFields(2).AddCurrentValue(Cstr(Request.Form("Cable")))
'Read database records into report in separate step
session("oRpt").ReadRecords

This works fine for single values (usually without the EnableMultipleValues)

Any help on where to go from here would be appriciated.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top