AccountingRegisterSelection.<Accounting register name>.Next

Syntax:

Next()

Returned value:

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

Description:

Obtains the next record from the selection. To tab through records you have to call this method to move to the first record of the selection and then keep calling it until the value False is returned.

Availability:

Server, thick client, external connection.

Example:

Selection = AccountingRegisters.Main.Select();
While 
Selection.Next() Do
    // process selection records
    // ...
EndDo;


    

1C:Enterprise Developer's Community