RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDatabase Methods

The methods of the TDatabase class are listed here.

 
Name 
Description 
 
Provides the interface for a method that opens a connection. 
 
Provides the interface for a method that terminates the connection. 
 
Returns the value of the Connected property. 
 
Returns a dataset, given its index in the DataSets property array. 
 
Initializes the connection component after all objects in the form or data module have been loaded. 
 
Forwards notification messages to all owned components. 
 
Name 
Description 
 
Posts pending cached updates for specified datasets to the database server. 
 
Closes all datasets associated with the database component without disconnecting from the database server. 
 
Permanently stores updates, insertions, and deletions of data associated with the current transaction, and ends the current transactions. 
 
Executes an SQL statement. 
 
Flushes the cached schema information for a table. 
 
Populates a string list with the names of fields in a table. 
 
Populates a string list with the names of tables in the database. 
 
Cancels all updates, insertions, and deletions for the current transaction and ends the transaction. 
 
Begins a new transaction against the database server. 
 
Raises an exception if a specified database is already open in the active session. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!