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

stored procedure - no fields

Status
Not open for further replies.

scherer

Programmer
Jun 26, 2001
10
DE
Hello,
I am working with Crystal Reports8.5 and an SQL Server 2000.
I want to make a report with a stored procedure. The procedure is o.k., it works on the sql server. But I can't add it to Crystal Reports, I get the error: there are no fields in the file:"prcedurename". In the knowledgebase on the crystal webpage I found an article, but it didn't help me. Working with other stored procedure on the same database works correct.
Please help me,
thanks
yvonne
 
Is the final statement in your stored proc...

SELECT f1, f2, ... FROM Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / ASP / Crystal / SQLServer
 
And...put this statement at the top of your stored proc.

set nocount on Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / ASP / Crystal / SQLServer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top