RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IEnumActionFieldValueRecords.GetFirstRecord Method

Positions the request on the first record.

Pascal
function GetFirstRecord: Boolean;
C++
__fastcall Boolean GetFirstRecord();

Call GetFirstRecord to start iterating over the records in the HTTP request. GetFirstRecord positions the request on the first record. That is, after a call to GetFirstRecord, if you obtain an IActionFieldValues interface for the request, it will extract the field values for the first record. 

GetFirstRecord returns true if it successfully positions the request on the first record and sets the InIterator property to true. GetFirstRecord returns false if it is unable to position the request on the first record. When GetFirstRecord returns false, the value of the InIterator property is false, and the value of the EOF property is true. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!