DataSelection.Next

Syntax:

Next()

Returned value:

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

Description:

Obtains the next data element from the selection. When you obtain the selection or call the Reset method up, the selection is in "before the first element". Therefore, the first request for this method will place the selection in the first element.

Availability:

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

Example:

Sel = ExchangePlans.SelectChanges(Recipient, MessageNo);
While 
Sel.Next() Do
    Object = Sel.Get();
    WriteXML(Record, Object);
EndDo
;


    

1C:Enterprise Developer's Community