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!

SQL reporting svcs: Multiple Datasets and stored procs: error?

Status
Not open for further replies.

TOraptor

Programmer
Dec 13, 2001
8
CA
I have a report that used different stored procs for different sections of the data.
eg. one table uses stored proc and the following table uses stored proc B.

I have a shared data source for each stored proc. In the Data tab i created datasets corresponding to each stored proc and i am loading the fields from each dataset into the report in the layout tab.

When i run my stored proc i get an error like:
"error while report processing. Query execution failed for dataset 'SurveyDB'. ExecuteReader: CommandText property has not been initialized"

Any ideas on how to get rid of this error.
Is it OK to have different datasets for different objects on the same report?

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top