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

How to execute/run store procedure from Crystal Command Statement

Status
Not open for further replies.
Apr 18, 2007
209
US
Hello I have a simple store procedure whihc is created to insert records into other table. I like to execute this store procedure from Crystal reports command statement. It does not have any parameters. I use Oracle and Crystal 2008.

When i say exec ABC in command, it throws error. Any help would be great.

best,
Tobey.
 
I use SQL, so this may not be relevant. But when I want to merge records in some way that's too complex for a single Select, I do an SQL command with several Selects and merge them into a single temporary table. This can be added to the report as if it were a table file.

Does this help?

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 2008 with SQL and Windows XP [yinyang]
 
You do not need to use a command to run an SP in crystal

Make sure Crystal can see SPs

File->Options-> datebase tab - check Stored Procedures

You will now be able to connect directly to the SP of your choice

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top