Unit rDBBatchUpdate

Description

rDBBatchUpdate provides universal dialog for batch record update in DBGrid or Dataset.

Full functional demo

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TrDBBatchUpdateForm universal dialog for batch record update in grid or database

Functions and Procedures

function DBBatchUpdate(const DBGrid: TCustomDBGrid; CallbackProc: TDBBatchUpdateRecordProc = nil): boolean; overload;
function DBBatchUpdate(const DataSet: TDataSet; CallbackProc: TDBBatchUpdateRecordProc = nil): boolean; overload;

Types

TDBBatchUpdateRecordAction = (...);
TDBBatchUpdateRecordProc = procedure(DataSet: TDataSet; Action: TDBBatchUpdateRecordAction; var RecordResult: boolean) of object;

Variables

rDBBatchUpdateForm: TrDBBatchUpdateForm;

Description

Functions and Procedures

function DBBatchUpdate(const DBGrid: TCustomDBGrid; CallbackProc: TDBBatchUpdateRecordProc = nil): boolean; overload;

show DBBatchUpdate dialog for DBGrid (Columns collection is used)

function DBBatchUpdate(const DataSet: TDataSet; CallbackProc: TDBBatchUpdateRecordProc = nil): boolean; overload;

show DBBatchUpdate dialog for Dataset (Fields collection is used)

Types

TDBBatchUpdateRecordAction = (...);

Callback action

Values
  • raBeforeScan
  • raAfterScan
  • raTestRecordResult
  • raUpdateRecordResult
  • raBeforeRecordPost
TDBBatchUpdateRecordProc = procedure(DataSet: TDataSet; Action: TDBBatchUpdateRecordAction; var RecordResult: boolean) of object;

Callback procedure for update process

Variables

rDBBatchUpdateForm: TrDBBatchUpdateForm;
 

Author

Created

Nov 2021

Last Modified

Nov 2021


Generated by PasDoc 0.15.0.