Class TUpdateMulti (unit UpdateMulti)

Inherits from

TDataSetUpdateObject

Constructors


constructor Create(AOwner: TComponent);

TUpdateMulti


Functions

procedure Apply(UpdateKind: TUpdateKind);


destructor Destroy;


procedure ExecSQL;


function GetDataSet: TBDEDataSet{$ENDIF};


function GetParamsProp(Index: Integer) : TParams;


function GetQuery(UpdateKind: TUpdateKind): TQuery;


function GetSQL(Index: Integer): TStrings;


procedure SetDataSet(ADataSet: TBDEDataSet{$ENDIF});


procedure SetParams;


procedure SetParamsProp(Index: Integer; Value: TParams);


procedure SetSeparator(Value: String);


procedure SetSQL(Index: Integer; Value: TStrings);


Properties

property DeleteParams : TParams


property DeleteSQL : TStrings


property InsertParams : TParams


property InsertSQL : TStrings


property ModifyParams : TParams


property ModifySQL : TStrings


property Separator : String


property DataSet :


property Queries : TQuery


Events

event OnDelete : TNotifyEvent


event OnInsert : TNotifyEvent


event OnModify : TNotifyEvent


Variables

FDataSet : TBDEDataSet{$ENDIF};


FExecQuery : TQuery;


FOnDelete : TNotifyEvent;


FOnInsert : TNotifyEvent;


FOnModify : TNotifyEvent;


FParamQueries : array [TUpdateKind] of TQuery;


FSeparator : String;



Constructors


constructor Create(AOwner: TComponent);

TUpdateMulti


Functions


procedure Apply(UpdateKind: TUpdateKind);


destructor Destroy;


procedure ExecSQL;


function GetDataSet: TBDEDataSet{$ENDIF};


function GetParamsProp(Index: Integer) : TParams;


function GetQuery(UpdateKind: TUpdateKind): TQuery;


function GetSQL(Index: Integer): TStrings;


procedure SetDataSet(ADataSet: TBDEDataSet{$ENDIF});


procedure SetParams;


procedure SetParamsProp(Index: Integer; Value: TParams);


procedure SetSeparator(Value: String);


procedure SetSQL(Index: Integer; Value: TStrings);


Properties


property DeleteParams : TParams


property DeleteSQL : TStrings


property InsertParams : TParams


property InsertSQL : TStrings


property ModifyParams : TParams


property ModifySQL : TStrings


property Separator : String


property DataSet :


property Queries : TQuery


Events


event OnDelete : TNotifyEvent


event OnInsert : TNotifyEvent


event OnModify : TNotifyEvent


Variables


FDataSet : TBDEDataSet{$ENDIF};


FExecQuery : TQuery;


FOnDelete : TNotifyEvent;


FOnInsert : TNotifyEvent;


FOnModify : TNotifyEvent;


FParamQueries : array [TUpdateKind] of TQuery;


FSeparator : String;