Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetReportDesigner.Build(TdxCustomSpreadSheet) Method

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

#Declaration

Delphi
procedure Build(ADestination: TdxCustomSpreadSheet);

#Parameters

Name Type
ADestination TdxCustomSpreadSheet

#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