QueryResultSelection.FindNext

Syntax variant: By structure

Syntax:

FindNext(<TheStructureOfTheSearch>)

Parameters:

<TheStructureOfTheSearch> (required)

Type: Structure.
Structure with a key containing field names and values containing field values.

Syntax variant: By column value

Syntax:

FindNext(<Value>, <Columns>)

Parameters:

<Value> (required)

Type: Arbitrary.
Sought value.

<Columns> (optional)

Type: String.
Names of columns where the value search will be carried out. If you leave this string empty, the search will be carried out across all columns.
Default value: Empty string.

Returned value:

Type: Boolean.
True - record found; False - otherwise.

Description:

Searches for a record by specific criteria and puts a selection pointer to this record.

Availability:

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

Note:

The current record is not included.

Example:

SearchStructure = New Structure("Article, Contractor");
SearchStructure.Article = NeedfulArticle;
SearchStructure.Contractor = NeedfulContractor;
While 
Selection.FindNext(SearchStructure) Do
    ...
EndDo
;


    

1C:Enterprise Developer's Community