Use PECloseSubreport to close the specified subreport.
BOOL CRPE_API PECloseSubreport (
short printJob );
Specifies the print job for the subreport that you want to close. |
Once this function has been called, PEGetSubreportInfo, or any other Crystal Report Engine function that applies to the subreport cannot be called.
Declare Function PECloseSubreport Lib "crpe32.dll" (
ByVal printJob As Integer ) As Integer
function PECloseSubreport (
printJob: Word
): Bool stdcall;
EXTERN CLOGICAL PECloseSubreport(CWORD) CRPE.DLL
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |