Hello,
I am trying to pass a muliple value parameter to my SQL proc and I am not sure how to accomplish this.
What I am trying to do is create a do loop that pulls in every value selected by the user then pass that value with all the approriate quotes, etc...to the proc.
So If the user selects A, B, C Then the string will look like:
('A', 'B', 'C')
and in the proc the code is:
Select *
From x
where Value IN @Parameter
I am sure this is possible. I guess part of my confusion is on how to make the parameter accept the formula value I have to create through Crystal.
If someone can help me I would be so appreciative.....
M.
I am trying to pass a muliple value parameter to my SQL proc and I am not sure how to accomplish this.
What I am trying to do is create a do loop that pulls in every value selected by the user then pass that value with all the approriate quotes, etc...to the proc.
So If the user selects A, B, C Then the string will look like:
('A', 'B', 'C')
and in the proc the code is:
Select *
From x
where Value IN @Parameter
I am sure this is possible. I guess part of my confusion is on how to make the parameter accept the formula value I have to create through Crystal.
If someone can help me I would be so appreciative.....
M.