Getting error "Invalid report file path" when setting OpenSubreport property. Path is correct. Other reports open up fine. Is there a better way to set this property?
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(sSubReportPath) c:\reports\Feeticket.rpt
oReportFileSub.SetDataSource(ReportDataSub)
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.