Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Executing stored proc using OLEDB Post Reply Post New Topic
Author Message
masterdineen
Newbie
Newbie
Avatar

Joined: 28 Sep 2010
Location: United Kingdom
Online Status: Offline
Posts: 26
Quote masterdineen Replybullet Topic: Executing stored proc using OLEDB
     Posted: 26 Jul 2012 at 10:12pm

Hi

I have a stored proc that populates a table and does not require any parameters. 

How would i get the proc to execute through crystal with a OLE BD connection.?

and obviously display the table data in a crystal report.

I am using Crystal XI and unable to use the ODBC connection due message error when i add a stored proc.
 
database Connection Error: 'Cannot obtain  error message from server'
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 27 Jul 2012 at 4:55am
Hi
 
It is simple like.. start with a standard report wizard, expand Creat New Connections--Expand OLE DB.. here it will ask for driver to connect to your database--also give proper database credientials.  On completion try to test the connection if connection is successful then you will see Tables / Stored procedures.
 
Now select the desired stored procedure and proceed further.
 
By the way what is the database you are trying to connect ? 
Thanks,
Sastry
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