TTdbDatabase provides discrete control over a connection to a single database in a TurboDB-based database application.
Unit
TdbDataSet
Description
Use TTdbDatabase when a TurboDB-based database application requires any of the following control over a database connection:
·
Common database directory for two or more TurboDB data sets
·
Providing a password-dialog to open protected tables
·
Reestablishing formerly used connections
Note
Explicit declaration of a TTdbDatabase component for each database connection in an application is optional if the application does not need to explicitly control that connection. If a TTdbDatabase component is not explicitly declared and instantiated for a database connection, a temporary database component with a default set of properties is created for it at runtime.
Note
TurboDB can open only one database at a time within the same application.