QueryResultSelection.NextByFieldValue

Syntax:

NextByFieldValue(<FieldName>)

Parameters:

<FieldName> (required)

Type: String.
Name of the query result field to search through for the next value.

Returned value:

Type: Boolean.
True - next record is selected; False - end of the selection is reached.

Description:

Obtains next record by the value of the field specified. The selection is moved to the next record with a value, which differs from the current value in the specified field value. When you call it up for the first time, it stays at the current record.

Availability:

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

Example:

While Selection.NextByFieldValue("Article") Do
    ...
EndDo
;


    

1C:Enterprise Developer's Community