PEReportOptions

PEReportOptions contains report option information. This information is used by PEGetReportOptions, to retrieve current options and by PESetReportOptions, to pass new options.

C Syntax
typedef struct PEReportOptions {
    WORD StructSize;
    short saveDataWithReport;
    short saveSummariesWithReport;
    short useIndexForSpeed;
    short translateDOSStrings;
    short translateDOSMemos;
    short convertDateTimeType;
    short convertNullFieldToDefault;
    short morePrintEngineErrorMessages;
    short caseInsensitiveSQLData;
    short verifyOnEveryPrint;
    short zoomMode;
    short hasGroupTree;
    short dontGenerateDataForHiddenObjects;
    short performGroupingOnServer;
    short doAsyncQuery;
    short promptMode;
    short selectDistinctRecords;     short alwaysSortLocally;     short isReadOnly;     short canSelectDistinctRecords;
}PEReportOptions;
Members

For each member, except as noted below, use TRUE, FALSE, or PE_UNCHANGED for no change.

structSize

Specifies the size of the PEReportOptions structure. Initialize to PE_SIZEOF_REPORT_OPTIONS.

saveDataWithReport

Specifies whether or not data should be saved with the report. Boolean, or PE_UNCHANGED for no change.

saveSummariesWithReport

Specifies whether to save summaries with the report. Boolean, or PE_UNCHANGED for no change.

useIndexForSpeed

Specifies whether or not to use index values. Boolean, or PE_UNCHANGED for no change.

translateDOSStrings

Specifies whether or not to translate DOS strings. Boolean, or PE_UNCHANGED for no change.

translateDOSMemos

Specifies whether or not to translate DOS memos. Boolean, or PE_UNCHANGED for no change.

convertDateTimeType

Specifies whether or not to convert DATE/Time format to another format. Use one of the following constants, or PE_UNCHANGED for no change.


Constant Value


PE_RPTOPT_CVTDATETIMETOSTR

0


PE_RPTOPT_CVTDATETIMETODATE

1


PE_RPTOPT_KEEPDATETIMETYPE

2

convertNullFieldToDefault

Specifies whether or not to convert NULL parameter fields to their default values. Boolean, or PE_UNCHANGED for no change.

morePrintEngineError
Messages

Specifies whether or not to allow the print engine to pop up error messages to the screen from an application without the users intervention. Boolean, or PE_UNCHANGED for no change.

caseInsensitiveSQLData

Specifies whether or not to perform a case insensitive search for SQL data. Boolean, or PE_UNCHANGED for no change.

verifyOnEveryPrint

Specifies whether or not to perform database verification for every print job. Boolean, or PE_UNCHANGED for no change.

zoomMode

Use one of the Zoom Level Constants, or PE_UNCHANGED for no change.

hasGroupTree

Specifies whether or not there is a group tree associated with the report. Boolean, or PE_UNCHANGED for no change.

dontGenerateData
ForHiddenObjects

Specifies whether or not to generate data for hidden objects. Boolean, or PE_UNCHANGED for no change.

performGroupingOnServer

Specifies whether or not to perform grouping on servers. Boolean, or PE_UNCHANGED for no change.

doAsyncQuery

Boolean, or PE_UNCHANGED for no change.

promptMode

Specifies the prompt mode. Use one of the following constants, or PE_UNCHANGED for no change.


Constant Value Description


PE_RPTOPT_PROMPT_NONE

0



PE_RPTOPT_PROMPT_NORMAL

1



PE_RPTOPT_PROMPT_ALWAYS

2


selectDistinctRecords

Specifies whether or not to select distinct records. Boolean, or PE_UNCHANGED for no change.

alwaysSortLocally

Specifies whether or not to sort the records locally. Boolean, or PE_UNCHANGED for no change.

isReadOnly

Specifies wether the report is read only. Boolean value. This property is read only.

canSelectDistinctRecords

Specifies wether the report can select distinct records. Boolean value. This property is read only.

VB Type Listing
Type PEReportOptions
    StructSize As Integer
    saveDataWithReport As Integer
    saveSummariesWithReport As Integer
    useIndexForSpeed As Integer
    translateDOSStrings As Integer
    translateDOSMemos As Integer
    convertDateTimeType As Integer
    convertNullFieldToDefault As Integer
    morePrintEngineErrorMessages As Integer
    caseInsensitiveSQLData As Integer
    verifyOnEveryPrint As Integer
    zoomMode As Integer
    hasGroupTree As Integer
    dontGenerateDataForHiddenObjects As Integer
    performGroupingOnServer As Integer
    doAsyncQuery As Integer
    promptMode As Integer
    selectDistinctRecords As Integer
    wysiwygMode As Integer     alwaysSortLocally as Integer     isReadOnly as Integer
    canSelectDistinctRecords as Integer
End Type
Delphi Record Listing
type
    PEReportOptions = record
        StructSize : Word;  
saveDataWithReport : Smallint;             
saveSummariesWithReport : Smallint;
useIndexForSpeed : Smallint;
translateDOSStrings : Smallint;
translateDOSMemos : Smallint;
convertDateTimeType : Smallint;
convertNullFieldToDefault : Smallint;
morePrintEngineErrorMessages : Smallint;
caseInsensitiveSQLData : Smallint;
verifyOnEveryPrint : Smallint;
zoomMode : Smallint;
hasGroupTree : Smallint;
dontGenerateDataForHiddenObjects : Smallint;    {
performGroupingOnServer : Smallint;         alwaysSortLocally : Smallint;         isReadOnly : Smallint
        canSelectDistinctRecords : Smallint
end;


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