Back to Devexpress

TdxSpreadSheetReportDesigner.Build(TdxCustomSpreadSheet) Method

vcl-dxspreadsheetreportdesigner-dot-tdxspreadsheetreportdesigner-dot-build-x28-dxspreadsheetcore-dot-tdxcustomspreadsheet-x29.md

latest1.8 KB
Original Source

TdxSpreadSheetReportDesigner.Build(TdxCustomSpreadSheet) Method

Builds a report based on the displayed template and the bound dataset(s).

Declaration

delphi
procedure Build(ADestination: TdxCustomSpreadSheet);

Parameters

NameType
ADestinationTdxCustomSpreadSheet

Remarks

Call this procedure to generate a spreadsheet report document within a Spreadsheet control (an instance of the TdxCustomSpreadSheet class descendant) passed as the ADestination parameter.

Calling the Build procedure raises the OnProgress event a number of times equal to the record count in the Report Designer’s bound master dataset, allowing you to track the progress of building simple and master-detail reports.

The resulting report can be built on a single worksheet, multiple worksheets, or even multiple spreadsheet controls (passed in the OnNewDocument event handler), depending on the Options.ReportMode property value.

Note

Calling the Build procedure sets the RebuildNeeded property to False.

See Also

TdxSpreadSheetReportDesigner Class

TdxSpreadSheetReportDesigner Members

dxSpreadSheetReportDesigner Unit