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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can Crystal report used stored procedures in MSSQL

Status
Not open for further replies.

vjvincent

Programmer
Aug 8, 2002
7
PH
Hi everybody. Im new in Crystal report. We are using ASP/XML as our architecture here. I would like to asked if we can used Stored Procedures in Crystal Report instead of the method "SQLQueryString". We don't allow any embedded SQL Statement in ASP codes.

Thanks in Advance.
 
Yes, CR can read Stored Procedures. They will show up as tables in the data explorer. Make sure in File-Options you have the setting to show Stored Procedures. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Thanks Ken.

I have another question . . .


Can I indicate the specific Stored Procedures in ASP that will be used in a specific Crystal Report???

For Example:

SET objReport = objCrystal.OpenReport(Server.MapPath(strRPTPath))

objReport.SQLQueryString "SELECT * FROM LIB_EXAM WHERE EXAMID = 2"

Can I replace the Embed Query String with Stored Procedures???

Thanks in Advance


 
I am pretty sure, but I don't know the exact ASP syntax for that. You might try posting this in the Crystal Integration Forum. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top