While this code is working against CR9, with CR for VS2010 report shows error: Error in File MyReport. InitializeReportLogon(subreport.OpenSubreport(subreport.SubreportName), connectionInfo) SubreportObject subreport = (SubreportObject)reportObj If (reportObj.Kind = ReportObjectKind.SubreportObject) TableLogOnInfo.ConnectionInfo = connectionInfo įoreach (ReportObject reportObj in ) TableLogOnInfo tableLogOnInfo = table.LogOnInfo Private void InitializeReportLogon(ReportDocument report, ConnectionInfo connectionInfo)įoreach (Table table in ) InitializeReportLogon((ReportDocument)sender, oConnectionInfo) OConnectionInfo.ServerName = odbcFileDsnFromConfig Private void reportDocument_InitReport(object sender, System.EventArgs e)ĬonnectionInfo oConnectionInfo = new ConnectionInfo() We are not able to successfully override DSN information build into report by file DSN specified in the. After upgrade of our app from Crystal Reports 9 to Crystal Reports for VS2010 we are observing next problems or changed behavior: We have used Crystal Reports 9 WinForms components for several years in our applications to run reports based on data from Progress OpenEdge RDBMS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |