Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing stored procedure into crystal

Status
Not open for further replies.

RNewton25

Programmer
Jan 6, 2003
2
US
I have a stored procedure written in sql; my company would like to take this procedure and import it into Crystal 8.5 to use. I have checked the crystal decisions site; but can anyone offer advice on this.

Thank you very much.
 
That all depends on what you mean by "importing". If you mean that you want to access the data that the stored procedure returns, then yes. You merely need to select the stored procedure as your datasource.

If you mean that you want to replicate the stored procedure within crystal so that you don't have to call the SP but get the same data straight from crystal SQL.... well it all depends. There is no "import" in crystal 8.5 for SQL statements, mostly because crystal can't handle the complicated statements/multiple queries etc that SP's normally use. *if* you can simplify the SP into a single SQL statement.. then *maybe* you can get the SP into crystal.

Lisa
 
Dear RNewton25,

Here you go - Crystal document on Stored Procedures:


This is a Crystal Technical Paper on Stored Procedures

You can find a lot of information here that doesn't pop up in a KB Search:


By the way, I have used them to report off of and they are pretty easy and fast!


ro Rosemary Lieberman
rosemary@microflo.com, Microflo provides expert consulting on MagicTSD and Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top