You might want to put the data you are ultimately querying in a permanent table, not a temp table. It may be that when you return the cursor, the temp table is no longer available and when the report is going through the cursor and trying to get records, the data is not available anymore.
|||Hi,
The problem must be elsewhere. I am doing this without problem.
Did you set the report dataset to type StoredProcedure?
Did you try to call your sp from a query window?
Did you create the datasource as to be of type Microsoft SQL Server?
Also, I do not like the " Select * " try to specify the columns if you can.
As Jayplus said, a permanent table would be better (if the data will remain unchanged for a while).
Philippe
No comments:
Post a Comment