RE: Error on crystal Report with subreport
Thanks for your reply.
Am using Dynamics GP2015R2
New Sales Invoice report using Crystal Report-10 (Include Subreport) and run the report thru dexterity.
The code is:
ReportName = "SOP-New.rpt";
Path_Folder = "C:\Reports\";
crviewer = COM_CreateObject("ReportView.CRView");
crviewer.PrintCrystalReport(Path_MakeNative(Path_Folder)+ReportName, 0, parameter, "SalesInvoice Report", "",servername,dbname, "sa", "xyz", "","");
Note: The above code is working fine without any subreport (Crystal).
Thanks,