Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Re Passing Parameters to Crystal from Stored Proc Post Reply Post New Topic
Author Message
raruna19
Newbie
Newbie
Avatar

Joined: 13 Dec 2011
Online Status: Offline
Posts: 8
Quote raruna19 Replybullet Topic: Re Passing Parameters to Crystal from Stored Proc
    Posted: 13 Dec 2011 at 9:32am
Hi All,
 
We have a requirement where we need to Create a Stored Procedure which is not tied to any report(Crystal) but need to call Parameter in Crystal Report and once the report is executed the Stored Procedure inserts a row(data given by Report) into a table.
 
Is this possible in Crystal 2008? If so please let me know how can we do it.
 
I tried adding the Stored Procedure to my report but I get  DB Connector Error "ORA-24372: invalid object for describe"



Edited by raruna19 - 13 Dec 2011 at 9:34am
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 14 Dec 2011 at 5:23am
CR won't call a stored proc except when the report is generated.
 
since the stored proc is not tied to a report, I would execute it from the stored proc that retrieves data for the report.
 
the other solution would be to return some trivial value from the stored proc and call it as a data source.  You would need to link parameters to it (if they are needed).  Though I don't know if CR will run a proc if it doesn't use the output...I've never done that...nor have I written anything to a database when a report is running, but that doesn't say it can't be done.
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.031 seconds.