QueryResultSelection.Select

Syntax:

Select(<TabOrderType>, <Groups>, <GroupsForGroupValues>)

Parameters:

<TabOrderType> (optional)

Type: QueryResultIteration.
Specifies the record tab order type for the selection.
Default value: Linear.

<Groups> (optional)

Type: String.
The list of comma-separated groups for tabbing.
Specify the empty string for detailed records. If no groups are specified, the next group specified in the "TOTALS" query sentence will be used.

<GroupsForGroupValues> (optional)

Type: String.
The list of comma-separated groups from which group values for tabbing will be selected. If you set this option to "All", all group values will be selected. If you specify an empty string, group values will be selected beginning from the previous group.

Returned value:

Type: QueryResultSelection.

Description:

Forms a selection of nested records for the current record of the result.

Availability:

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

Example:

Selection.Choose(QueryResultIteration.ByGroupsWithHierarchy);

    

1C:Enterprise Developer's Community