ReportBuilder.Put

Syntax variant: Output to a spreadsheet document

Syntax:

Put(<SpreadsheetDocument>)

Parameters:

<SpreadsheetDocument> (optional)

Type: SpreadsheetDocument; SpreadsheetDocumentField.
The name of "Spreadsheet document" control which will be used for output. If this parameter is not specified, a new spreadsheet document will be created.

Syntax variant: Output to a chart

Syntax:

Put(<Chart>, <Resource>)

Parameters:

<Chart> (required)

Type: Chart.
The name of the "Chart" control which will be used for output.

<Resource> (optional)

Type: String.
The name of resource which will be output to the chart.

Description:

Outputs the report to a spreadsheet or a chart.

Availability:

Server, thick client, external connection.

Note:

The report is outputted only if the report has not been yet outputted or of the settings (see ReportBuilderSettings) have been changed, or Execute method has been called.

Example:

// Output to the spreadsheet document
ReportBuilder.Put(DocResult);
// Ouput ot the chart
Chart.Clear();
ReportBuilder.Put(Chart, DeducedParameterName);


    

1C:Enterprise Developer's Community