PEOpenSubreport

Use PEOpenSubreport to open the named subreport and return a number that identifies that subreport.
The number returned must be used in all subsequent calls related to the subreport (where a print job handle is required).

C Syntax
short CRPE_API PEOpenSubreport (
        short parentJob,
        char FAR *subreportName );
Parameters

parentJob

Specifies the primary report (the report that contains the subreport). This is the handle returned from PEOpenPrintJob.

subreportName

Specifies a pointer to the name of the subreport that you want to open. This is retrieved using PEGetSubreportInfo.

Returns
Remarks
VB Syntax
Declare Function PEOpenSubreport Lib "crpe32.dll" (
    ByVal parentJob As Integer, ByVal subreportName As String ) As Integer
Delphi Syntax
function PEOpenSubreport (
    parentJob: Word;
    subreportName: PChar
    ): Word stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com