DBEngine Object

The DBEngine object contains and controls all other collections and objects in the DAO object hierarchy. The DBEngine object doesn’t have an associated collection.

Note Prior to version 3.0 of DAO, you could run up to 10 applications that simultaneously used the DBEngine object. You can now run as many processes (executions of Microsoft Jet, other applications, and so on) as your system resources allow. Additionally, within each process, you can have up to 64 instances of Microsoft Jet. For example, you can create 64 private DBEngine objects within an application.

The DBEngine object has several properties and methods and contains two collections: the Workspaces collection and the Errors collection. You use the DBEngine object when referring to a database. When using DAO from within Microsoft Access, you can use the CurrentDb function as a shortcut to refer to the DBEngine object for the current database.