Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: comma delimited Post Reply Post New Topic
Author Message
moleary
Newbie
Newbie


Joined: 06 Feb 2008
Location: United States
Online Status: Offline
Posts: 28
Quote moleary Replybullet Topic: comma delimited
     Posted: 22 Apr 2008 at 1:29pm
Can you have a SQL Parameter in Stored Procedure that accepts comma delimited list and how does the interaction with Crystal Reports work?
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 24 Apr 2008 at 8:15am
You can pass a string to the stored procedure and the string consists of a comma delimited list of values. But it won't parse those values out into a list of unique numbers. You would have to do that manually in the stored procedure using string functions. CR doesn't have a way to pass a list of values (e.g. an array) to a stored procedure. One value per parameter is all you get.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum