RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.TGroupPosInd Enumeration

TGroupPosInd and TGroupPosInds indicate the position of the current record within its group.

Pascal
TGroupPosInd = (
  gbFirst,
  gbMiddle,
  gbLast
);
C++
enum TGroupPosInd {
  gbFirst,
  gbMiddle,
  gbLast
};

TGroupPosInds is a set that indicates where the current record sits within a group of records. It is a set because if the group contains only one record, the current record is both first and last. 

The following table lists the possible TGroupPosInd values:

Value 
Meaning 
gbFirst  
The record is the first record in the group.  
gbMiddle  
The record is neither the first nor the last in the group.  
gbLast  
The record is the last record in the group.  

 

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