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

Report from stored SQL procedure

Status
Not open for further replies.

dBjason

Programmer
Mar 25, 2005
355
US
I have an existing report which needs to be modified. Currently it's getting it's data from a stored procedure which takes about 8 minutes to execute.

I made a copy of the report, then a modified copy of the stored procedure (the proc is fairly complicated and needs to filter out additional information).

So now it's time to open the copied report and point it to get data from the new stored procedure. Problem is this: I'm getting an "unkown field" error (normal), but I have no data fields to pull out of the field explorer or formula workshop to drag onto the report! I can open "database fields" and see my stored procedure, but it won't expand when I click on the '+' next to it. Anyone have any ideas?

Please help!
 
Try posting technical information:

Crystal version
Database/connectivity used

Try repointing the report to the new SP by select Database->Set database location and select your new SP.

The syntax may vary in your version of Crystal, thgus omitting the basics will often result in more posts.

-k
 
Sorry about that...

Crystal Reports Professional - Version 9.2.2.634

Connectivity: OLE DB (ADO)
Db: SQL Server 8.00.194

I'll try your idea; hopefully it'll be more promising!

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top