PESetReportOptions

Use PESetReportOptions to set various options for the report to the values supplied in PEReportAlertInfo. Use this function any time you want to set any of the report options found in the Report|Options dialog box in the Crystal Reports Designer.

C Syntax
BOOL CRPE_API PESetReportOptions (
        short printJob,
        PEReportOptions FAR *reportOptions );
Parameters

printJob

Specifies the print job for which you want to set report options.

reportOptions

Specifies a pointer to PEReportAlertInfo.

Returns
VB Syntax
Declare Function PESetReportOptions Lib "crpe32.dll" (ByVal printJob _
        As Integer, reportOptions As PEReportOptions) As Integer
Delphi Syntax
function PESetReportOptions (
    printJob: smallint;
    var reportOptions: PEReportOptions
    ): Bool stdcall;


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