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

Passing Parameters

Status
Not open for further replies.

Jengo

Programmer
Apr 17, 2000
100
US
Anyone, HELP!

I am trying to pass a parameter to Crystal Reports to select multiple values from a database.

Currently my code looks like this:
-----------------------------------------------------
crpt.ParameterFields(0) = "pCallID;" & Trim(UCase(strCallID)) & ";TRUE"
crpt.ReportFileName = App.Path & "\reports\tablestyle.rpt"
crpt.Action = 1
-----------------------------------------------------

I can pass one value to the parameter like the value 1 and it return record 1. But I can't figure out how to pass a couple of values like 1,3,7. I want the report to pass back those selected records. I can't just specify more parameters because the it could be many, many records. Thanx for any help. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top