Bde.DBTables.TBatchMove

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBatchMove

Delphi

TBatchMove = class(TComponent)

C++

class PASCALIMPLEMENTATION TBatchMove : public System::Classes::TComponent

Properties

Type Visibility Source Unit Parent
class public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables Bde.DBTables

Description

TBatchMove performs database operations on groups of records or entire tables.

Use a TBatchMove object to

Add the records in a dataset to a database table.

Delete the records in a dataset from a database table.

Copy a dataset to create a new database table or overwrite an existing table.

Set the Mode property to specify the desired operation. The Source and Destination properties indicate the datasets whose records are added, deleted, or copied. Other properties further specify how to perform the operation and how to handle problems that TBatchMove encounters when performing its operation. Once you have set properties to indicate what you want to do, call the Execute method to perform the actual operation.

Note: TTable objects can also perform the same batch operations, but only using the options specified by the default TBatchMove property values.

Tip: Applications can use a TBDECallback object to further refine the response to problems that arise.

See Also