Skip to content

TDBCompareRec

Implements a structure used to compare buffers for fields in TBufDataset.

Declaration

Source position: bufdataset.pas line 140

type
  TDBCompareRec = record
    CompareFunc: TCompareFunc = function(subValue: pointer; aValue: pointer; 
                        size: Integer; options: TLocateOptions) : Int64;
    Off: PtrInt;
    NullBOff: PtrInt;
    FieldInd: LongInt;
    Size: Integer;
    Options: TLocateOptions = Set of TLocateOption = (loCaseInsensitive,loPartialKey);
    Desc: Boolean;
  end;

Description

TDBCompareRec is a record type which implements a structure used to compare buffers for fields in TBufDataset. TDBCompareRec is used in the implementation of the TDBCompareStruct type.

See also

Name Description
TCompareFunc Function used to compare values to determine their relative sort order.
TLocateOptions Options to use when locating a record in a dataset.