QueryResultSelection.Next
Next()
Type:
Boolean.
True - next record is selected;
False - end of the selection is reached.
It obtains the next record of the query result. To tab through the query result, you have to call this method up for positioning at the first element after getting the selection, and then keep calling it up until the
False value is returned.
Server, thick client, external connection, Mobile application (server).
If all records with the field value equal to the value set during the previous call of the
NextByFieldValue method are selected after the records are obtained, then an attempt to obtain records with the field value different from the one obtained by the
NextByFieldValue method will return the
False value.
While Selection.Next() Do ... EndDo;
|