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

execute a procedure

Status
Not open for further replies.

maas

Programmer
Sep 3, 2009
148
BH
Hello All,

I have one general question is that:

can I execute a procedure in a crystal report and specifically from "Add Command"?

My requirement is that when the user runs the report, a procedure needs to be run to populate the values and show them in the report.

Thanks and Regards
 
Hi,
Depending on the database and the access rights, Crystal can read the results of a stored procedure that is constructed to return a dataset - For Oracle the SP needs to return a REFCURSOR, for instance.

You do not need a Command - If the procedure is correctly written, CR can 'see' it the same way it 'sees' tables and views.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top