Unit DBTrackTool

Uses
Functions and Procedures
Constants
Variables

Description

DBTrackTool unit contains set of components TTrackRecTarget and TTrackRecSource for automated tracking of dataset changes and events (Open, Close, Append, Edit, Delete) and saving of old and new values in selected fields of tracked datasets. Most of setting can be easily done by design time editor (see RosiDBDesignEditors package).

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TTrackRecTarget non visual component defining dataset which stores tracked records of all related TTrackRecSource components
Class TTrackRecSource non visual components defining tracked dataset, log is stored by related TTrackRecTarget component

Types

TTrackingEvent = (...);
TTrackingEvents = set of TTrackingEvent;
TTrackingOption = (...);
TTrackingOptions = set of TTrackingOption;
TTrackGetDateTime = procedure(Sender: TTrackRecTarget; var DateTime: TDateTime) of object;
TTrackEditMessage = procedure(Sender: TTrackRecSource; var Msg: string) of object;
TChangesFormat = (...);

Description

Types

TTrackingEvent = (...);

list of tracking dataset events

Values
  • teAppend
  • teEdit
  • teDelete
  • teOpen
  • teClose
  • teView
TTrackingEvents = set of TTrackingEvent;

set of tracking dataset events

TTrackingOption = (...);

list of tracking options

Values
  • toTrackNoChanges
  • toUseFieldName
TTrackingOptions = set of TTrackingOption;

set of tracking options

TTrackGetDateTime = procedure(Sender: TTrackRecTarget; var DateTime: TDateTime) of object;

event type for user defined datetime value

TTrackEditMessage = procedure(Sender: TTrackRecSource; var Msg: string) of object;

event type for user defined message or value

TChangesFormat = (...);

list of possible formats of change information text

Values
  • frmText
  • frmMemoGrid

Author

Created

Jan 2010

Last Modified

Feb 2017


Generated by PasDoc 0.15.0.