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!

Problem linking to SQL Server Stored Procedure

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
I have a stored procedure with prompts feeding a Crystal 8.5 report. I had to insert another SQL Server prompt and due to our standards could not add it at the end, but had to insert it and move the remaining ones down.

I do a verify database in Crystal and it shows the old parm prompts first, then I get the fixing up database message and then it shows the new parm prompts with the new one inserted and the others moved down as I would expect.

If I immediately save the report and try to run it, it acts like it is still using the old parms. If I reverify the database, it goes back to the original process as I described above. Also, I notice that in the parameter listing that even though they show no references, most of them cannot be deleted, the delete funtion is grayed out. Only the newly inserted parm is deletable.

Can anyone suggest what may be the problem here? Thanks in advance for any help you can give me!
 
I have run into the same problem in the past. To get around it, I made a copy of my stored proc, set location of the Crystal report to the new proc. Then I would set location to the old proc & the prompts would behave properly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top