Data.DB.TGroupPosInd
[–] Properties | |
---|---|
Type: enum | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: Data.DB |
Delphi
TGroupPosInd = (gbFirst, gbMiddle, gbLast);
C++
enum DECLSPEC_DENUM TGroupPosInd : unsigned char { gbFirst, gbMiddle, gbLast };
Description
TGroupPosInd and TGroupPosInds indicate the position of the current record within its group.
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. |