Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Passing List of values from CR to Store procedure Post Reply Post New Topic
Author Message
shanni
Newbie
Newbie
Avatar

Joined: 01 Aug 2008
Location: United States
Online Status: Offline
Posts: 2
Quote shanni Replybullet Topic: Passing List of values from CR to Store procedure
     Posted: 01 Aug 2008 at 10:40am
hi ,
I am trying to pass a list of selected values on the drop down menu in CR to Store procedure written in SQL based on which the data should be retreived from the databse. Basically these list of values replace the parameter in the Where class. Please suggest how can I do this also what is the evenyt I can use .
Shan
 
for example if my identifier is company_name in the CR and it can take multiple values like 'abc,'def','xyz' and then it passes this list to store procedure where it should retrieve based on these values
 
SElect * from company_Db
where comapny_name in &Param;
 
Here it should replace &Param with the list (abc,def,xyz)


Edited by shanni - 01 Aug 2008 at 10:46am
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 01 Aug 2008 at 11:55am
I see this on the forum a lot and unfortunately CR doesn't have a way to pass multiple values to a stored procedure.
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