Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Store procedure with a report Post Reply Post New Topic
Author Message
lmobarq
Newbie
Newbie


Joined: 20 Jul 2010
Online Status: Offline
Posts: 11
Quote lmobarq Replybullet Topic: Store procedure with a report
    Posted: 20 Jul 2010 at 11:31am
Hello
Where can i find a sample report that use and store procedure in slq server to get the records for the report
I want to know how to do that.
Thank you
Luis

IP IP Logged
Emir_W
Senior Member
Senior Member
Avatar

Joined: 25 Apr 2010
Online Status: Offline
Posts: 228
Quote Emir_W Replybullet Posted: 20 Jul 2010 at 4:20pm
assume:
- you use Crystal Reports XI
- you have created the Stored Procedure in SQL server and make an ODBC setting.
 
just create new report and use your Stored Procedure (SP) as your Datasource (through ODBC).
 
you'll see a list of all Tables / Views / Stored Procedures from the DB.
 
- select the SP that you want.
- and design your report using all fields from that SP.
 
if there are some parameters in your SP then it will automatically appears in Field Explorer - Parameter Fields.
 
but if the params in your SP using XML format then in CR you'll need to type it manually in 'Parameter Fields'.
 
 
 
hope it help.
 
Emir W
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.016 seconds.