PECloseSubreport

Use PECloseSubreport to close the specified subreport.

C Syntax
BOOL CRPE_API PECloseSubreport (
        short printJob );
Parameter

printJob

Specifies the print job for the subreport that you want to close.

Returns
Remarks

Once this function has been called, PEGetSubreportInfo, or any other Crystal Report Engine function that applies to the subreport cannot be called.

VB Syntax
Declare Function PECloseSubreport Lib "crpe32.dll" (
    ByVal printJob As Integer ) As Integer
Delphi Syntax
function PECloseSubreport (
    printJob: Word
    ): Bool stdcall;
dBASE for Windows Syntax
EXTERN CLOGICAL PECloseSubreport(CWORD) CRPE.DLL


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