Crystal Report 9 - replace SP - unable to open rowset
Need to be able to copy an existing rpt file & replace it's data source with another Stored Procedure which returns the same type of data. To save having to keep re-creating the same thing & have everything line up so can be used as subreports in a main report.
Eg: Report has:
* GroupName (string)
* SLA (string)
* Apr (int)
* May (int)
... etc
* Feb (int)
* Mar (int)
Steps I took:
1) Copy a *.rpt file & paste it to a new name
2) Open the new *.rpt
3) Database > set datasource > find new sp (CCCMonthlyReport_Sub6) & select it, click in top window on the sp name (CCCMonthlyReport_Sub5), click update
4) Database > database export > click on the SP name (on the right) & edit it to the new sp name (eg: CCCMonthlyReport_Sub5 change to CCCMonthlyReport_Sub6) (OPTIONAL)
5) Database > verify database
6) Run
7) Error msg box 1: Unable to open a rowset
8) Error msg box 2: Not supported. Details: Cannot obtain error message from server.
Regardless of doing step 4) it still has errors.
* Database > Show SQL Query still shows the old SP name (sub5).
* Field explorer shows new SP name
* Report Explorer shows old SP name - even if I right click one > select export > new > sub6 field > delete sub5 field > OK. When look at select expert again, it hasn't made the change.
Any help please?
Also posted here just now (post #6, 1wk ago- awaiting approval)... the solution didnt work:
http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=10149&KW=update+data+source&PID=32140#32140
Edited by shell_l_d - 16 Jun 2010 at 3:52pm