Data.DB.TGroupPosInd

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TGroupPosInd = (gbFirst, gbMiddle, gbLast);

C++

enum DECLSPEC_DENUM TGroupPosInd : unsigned char { gbFirst, gbMiddle, gbLast };

Properties

Type Visibility Source Unit Parent
enum public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

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.