Class TTableFilter (unit MKTable)

Inherits from

tComponent

Constructors



Functions

procedure ApplyFilter;

Procedure to tell tTableFilter to apply the filter condition given in the user defined method FilterRecord.

procedure CancelFilter;

procedure } { --------------------------------------------------------------------------- } Procedure to tell tTableFilter to remove the filter condition given in the user defined method FilterRecord.

procedure mkTableFilter(DataSet: TDataSet; var Accept: Boolean);

Table the user specified.

procedure SetFilter(incoming : boolean);

---------------------------------------------------------------------------

Properties

property Filter : Boolean


property Table : tTable


Events

event OnFilter : tFilterEvent


Variables

fFilter : boolean;


fOnFilter : tFilterEvent;

are we currently filtering data.

FTable : tTable;

Holder for FILTER event.


Constructors


Functions


procedure ApplyFilter;

Procedure to tell tTableFilter to apply the filter condition given in the user defined method FilterRecord.


procedure CancelFilter;

procedure } { --------------------------------------------------------------------------- } Procedure to tell tTableFilter to remove the filter condition given in the user defined method FilterRecord.


procedure mkTableFilter(DataSet: TDataSet; var Accept: Boolean);

Table the user specified.

*) { --------------------------------------------------------------------------- } { ------- tTableFilter component code starts here ------------------------- } { --------------------------------------------------------------------------- } This component is here to allow users of the 16-bit version to move to Delphi 2.x without changing code. This component simply uses the filtering that is included in Delphi 2.x (This level of filtering should have been included in Delphi 1.x)


procedure SetFilter(incoming : boolean);

---------------------------------------------------------------------------


Properties


property Filter : Boolean


property Table : tTable


Events


event OnFilter : tFilterEvent


Variables


fFilter : boolean;


fOnFilter : tFilterEvent;

are we currently filtering data.


FTable : tTable;

Holder for FILTER event.