Hi,
I have a main report with 5 subreports.
main report doesnt have any command objects however every subreport has command object and parameters.
I am trying to change the runtime datasource for this report.
But it fails with following error:
"com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
Or can someone provide me code snippet for "setTableLocation" with commandobjects for main and multiple subreports.
I am sure I have to use ICommandTable but how??
Would appreciate any help on this.
Regards,
Jon
Edited by: Jonathan Roy 5 on May 5, 2010 12:43 PM