RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IEnumActionFieldValueRecords.GetRecord Method

Positions the request on a specified record.

Pascal
function GetRecord(AIndex: Integer): Boolean;
C++
__fastcall Boolean GetRecord(int AIndex);

Call GetRecord to move to a specified record of the request. After a call to GetRecord, if you obtain an IActionFieldValues interface for the request, it will extract the field values for the specified record. 

AIndex is the index of the record to which you want to move, where 0 specifies the first record, 1 specifies the second record, and so on. AIndex should be less than the value of the RecordCount property. 

GetRecord returns true if it successfully positions the request on the specified record. GetRecord returns false if it is unable to position the request on the specified record. 

 

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