RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldValuesAdapter.ImplNextIteration Method

Provides the underlying implementation for the NextIteration method.

Pascal
function ImplNextIteration(var OwnerData: Pointer): Boolean; override;
C++
virtual __fastcall Boolean ImplNextIteration(void * OwnerData);

The NextIteration method calls ImplNextIteration when iterating over field values to determine whether there is another field value after the current one and if so, to change the current value to the next one. 

OwnerData is a pointer to adapter-specific data that can affect the way it iterates over field values. On entry, this value is typically the same as the value returned by the last call to NextIteration or to StartIterator

ImplNextIteration returns true if it moves to the next field value, false if it can't change to a new field value (usually because the field is on its last value).  

In TFieldValuesAdapter, ImplNextIteration obtains an IWebGetFieldValues interface for the adapter field that is the value of the Field property and calls its NextValueIteration method, passing on the value of the OwnerData parameter. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!