Class TTrackRecTarget

Unit

Declaration

type TTrackRecTarget = class(TComponent)

Description

non visual component defining dataset which stores tracked records of all related TTrackRecSource components

Hierarchy

  • TComponent
  • TTrackRecTarget

Overview

Methods

Public procedure SaveTrackRec(Action: TTrackingEvent; TableName, KeyValue: string; Changes, Memo: string; Special: integer; CustomMemo: string = '');

Properties

Published property TargetDataSet: TDataSet read FTargetDataSet write SetTargetDataSet;
Published property Disable: boolean read FDisable write FDisable;
Published property FieldDateTime: string read FFieldDateTime write FFieldDateTime;
Published property FieldUser: string read FFieldUser write FFieldUser;
Published property FieldAction: string read FFieldAction write FFieldAction;
Published property FieldTableName: string read FFieldTableName write FFieldTableName;
Published property FieldKeyValue: string read FFieldKeyValue write FFieldKeyValue;
Published property FieldChanges: string read FFieldChanges write FFieldChanges;
Published property FieldMemo: string read FFieldMemo write FFieldMemo;
Published property FieldCustomMemo: string read FFieldCustomMemo write FFieldCustomMemo;
Published property FieldSpecial: string read FFieldSpecial write FFieldSpecial;
Published property ActiveUser: string read FActiveUser write FActiveUser;
Published property OnGetDateTime: TTrackGetDateTime read FOnGetDateTime write FOnGetDateTime;
Published property ChangesFormat: TChangesFormat read FChangesFormat write FChangesFormat;

Description

Methods

Public procedure SaveTrackRec(Action: TTrackingEvent; TableName, KeyValue: string; Changes, Memo: string; Special: integer; CustomMemo: string = '');

main procedure for saving of record, used mainly by related TTrackRecSource

Properties

Published property TargetDataSet: TDataSet read FTargetDataSet write SetTargetDataSet;

Link to DataSet used for saving of tracked records

Published property Disable: boolean read FDisable write FDisable;

Defines whether tracking is disabled for all related TTrackRecSource

Published property FieldDateTime: string read FFieldDateTime write FFieldDateTime;

Defines names of DateTime field in target dataset

Published property FieldUser: string read FFieldUser write FFieldUser;

Defines names of UserName field in target dataset

Published property FieldAction: string read FFieldAction write FFieldAction;

Defines names of Action field in target dataset

Published property FieldTableName: string read FFieldTableName write FFieldTableName;

Defines names of TableName field in target dataset

Published property FieldKeyValue: string read FFieldKeyValue write FFieldKeyValue;

Defines names of KeyValue field in target dataset

Published property FieldChanges: string read FFieldChanges write FFieldChanges;

Defines names of Changes text field in target dataset

Published property FieldMemo: string read FFieldMemo write FFieldMemo;

Defines names of Memo field in target dataset

Published property FieldCustomMemo: string read FFieldCustomMemo write FFieldCustomMemo;

Defines names of CustomMemo field in target dataset

Published property FieldSpecial: string read FFieldSpecial write FFieldSpecial;

Defines names of Special field in target dataset

Published property ActiveUser: string read FActiveUser write FActiveUser;

Defines user name which is saved in target dataset

Published property OnGetDateTime: TTrackGetDateTime read FOnGetDateTime write FOnGetDateTime;

event used for user definition of DateTime value

Published property ChangesFormat: TChangesFormat read FChangesFormat write FChangesFormat;

define format of change information text


Generated by PasDoc 0.15.0.