Using Crystal Report 7
I want to call a stored procedure in Crystal Report.
How to do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Add the stored procedure into your report; like you would add a table.
Add the parameters the stored procedure needs to run; as parameters with exactly the same name they have on the stored procedure.
So if the SP had two parameters, @PARAM1 and @PARAM2 you would need these same paramaters (name, type etc) in your report.
Crystal will allow you to use the SP returned fields like any normal table’s fields.