Skip to main content

TdxSpreadSheetReportMode Enum

Enumerates available spreadsheet report building modes.

Declaration

TdxSpreadSheetReportMode = (
    rmSingleSheet,
    rmMultipleSheets,
    rmMultipleDocuments
);

Members

Name
rmSingleSheet
rmMultipleSheets
rmMultipleDocuments

Remarks

Options include:

Value

Description

Command

rmSingleSheet

The report is always built on a single worksheet of the destination Spreadsheet control, regardless of the bound source data.

SingleSheetReportMode

rmMultipleSheets

Each master record followed by the corresponding detail table is built on a new worksheet within the single destination Spreadsheet. If the resulting report contains grouped records from a single bound dataset, each new group is built on a new worksheet of the destination Spreadsheet.

In the case of simple reports (i.e., without the master-detail relationship between bound datasets or grouped dataset records) this setting is equivalent to rmSingleSheet.

MultipleSheetsReportMode

rmMultipleDocuments

In this mode, the Report Designer raises the OnNewDocument event for each new master record (or a dataset record group in the case of a single bound dataset) following the first, allowing you to specify a new destination Spreadsheet control. The resulting report is built on multiple spreadsheet documents containing a single sheet.

In the case of simple reports (i.e., without the master-detail relationship between bound datasets or grouped dataset records) this setting is equivalent to rmSingleSheet.

MultipleDocumentsReportMode

The TdxSpreadSheetReportMode type is referenced by the Report Designer‘s Options.ReportMode property.

See Also