Skip to content

Constants - Import Sub-report

The Import (replace) of an existing sub-report action returns one of the following values.

Constant Description
C_DR_SUBREPORT_IMPORT_SUBREPORT_NOT_FOUND Cannot find a subreport with the passed sub-report Id. You need to re-open the original report/re-instantiate the OCX.
C_DR_SUBREPORT_IMPORT_CANNOT_PREPARE_SUBREPORT Internal error. You need to re-open the original report/re-instantiate the OCX.
C_DR_SUBREPORT_IMPORT_CANNOT_OPEN_FILE The file to read from (=%1) cannot be opened. You need to re-open the original report/re-instantiate the OCX.
C_DR_SUBREPORT_IMPORT_MAINREPORT_NOT_FOUND The passed report ID cannot be found.
C_DR_SUBREPORT_IMPORT_BUSY The engine is still busy with another action. Send CancelReport first.
C_DR_SUBREPORT_IMPORT_SUCCESS Import was successful.