Purpose
The DBEngine object contains and controls all other collections and objects in the DAO object hierarchy
Accesses/Assigns
DefaultPassword | Used when a Workspace object is created without a specified password |
DefaultType | The type of workspace (Microsoft Jet or ODBCDirect) that will be used by the next Workspace object created |
DefaultUser | Used when a Workspace object is created without a specified username |
Errors | Collection of errors from the most recent failed DAO operation |
IniPath | Full path and filename of the Jet engine initialization file |
LoginTimeout | The number of seconds before an error occurs when you attempt to log on to an ODBC database |
Version | Version number of the executing Microsoft Jet database engine |
Workspaces | (Default) Collection of open Workspace objects |
Methods
Idle | Complete pending engine tasks such as lock removal |
Init | Create instance of the DaoDbEngine Class, and assigns this to global Engine Object |
Rollback | Undo any changes since the last BeginTrans |
SetOption | Temporarily overrides values for the Microsoft Jet database engine keys in the Windows Registry |
Inherits from
Example
DbEngine sample