InformationRegisterRecordSet.<Information register name>.Unload

Syntax:

Unload(<Strings>, <Columns>)

Parameters:

<Strings> (optional)

Type: Array.
Array of lines for a unloading. If it is not specified, are unloaded all the line long a set of records.

<Columns> (optional)

Type: String.
The list of columns in a format: " Column1, Column2... ". If the list is not set, columns will be copied all.

Returned value:

Type: ValueTable.

Description:

Creates a value table and copies all records of the set to it. The structure of the resulting table matches the structure of the recordset.

Availability:

Server, thick client, external connection, Mobile application (server).

Example:

Reg = InformationRegisters.ExchangeRates;
RecordsSet = Reg.CreateRecordSet();
RecordsSet.Filter.Currency.Value = Ref;
RatesTable = RecordsSet.Unload();


    

1C:Enterprise Developer's Community