on 06-30-2021 4:07 PM
Crystal Reports 2016
Getting error "Invalid report file path" when setting .OpenSubreport(sSubReportName). The path is correct and is set to a logical drive. All other reports open from the same path.
oReportFile.Load(sRptFilename)
RptFormulaFieldDefinitions = oReportFile.DataDefinition.FormulaFields
oReportFile.SetDataSource(ReportData)
frmReportViewer.CRViewer.ReportSource = oReportFile
If sRptFileCopy <> "" Then oReportFileCopy.Load(sRptFileCopy)
RptFormulaFieldDefinitionsCopy = oReportFileCopy.DataDefinition.FormulaFields
End If
oReportFileSub.OpenSubreport(sSubReportName)
oReportFileSub.SetDataSource(ReportDataSub)
If sRptFileCopy <> "" Then
oReportFileCopy.SetDataSource(ReportData)
End If
Please don't post multiple times.
Your other post is here:
https://answers.sap.com/questions/13428077/cr-2017-subreport-error.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.