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!

multiple selection parameters to stored procedure

Status
Not open for further replies.

willisa

Programmer
Dec 17, 2001
23
0
0
NZ
Is there a way of passing multiple selection parameters selection to a stored procedure?
 
Actually that isn't true. You can "string" them together and then parse the multiple values out within the sp. Actually sending an array as a parameter to a sp is what I don't think you can do.

Lisa
 
Have you done that before? I would have thought that by the time you string it together it would have been to late to send to the stored procedure. I will give it a go though. I am assuming you string the parameter together in the report header
 
No, you string it together when you enter it...

The user would enter it like:

1;254;64;526

for four separate number values (you can use any separator you want)

Then the SP would parse it.. sorry if I didn't make that clear.

Lisa
 
unfortunately I am doing this through crystal enterprise without building custom csp pages. So unless I did that its not going to work. Thanks for your time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top