• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part VII: Appendixes > DBEngine Object

A.6. DBEngine Object

A.6.1. Collections

Property Type Version Description
Errors Errors 3.0./3.5 Collection of errors from the most recently failed DAO operation
Properties Properties 3.0/3.5 Collection of Property objects
Workspaces Workspaces 3.0/3.5 Collection of open Workspace objects


A.6.2. Methods

Method Parameters Returns Version Description
BeginTrans   Sub 3.0/3.5 Begins a new transaction
CommitTrans   Sub 3.0 Ends the transaction and saves any changes
CommitTrans [Option as Long] Sub 3.5 Ends the transaction and saves any changes
CompactDatabase SrcName As String, DstName As String, [DstConnect], [Options], [SrcConnect] Sub 3.0 Compacts a closed database
CompactDatabase SrcName As String, DstName As String, [DstLocale], [Options], [SrcLocale] Sub 3.5 Compacts a closed database
CreateDatabase Name As String, Connect As String, [Option] Database 3.0 Creates a new database
CreateDatabase Name As String, Locale As String, [Option] Database 3.5 Creates a new .MDB database
CreateWorkspace Name As String, UserName As String, Password As String Workspace 3.0 Creates a new Workspace object
CreateWorkspace Name As String, UserName As String, Password As String, [UseType] Workspace 3.5 Creates a new Workspace object
Idle [Action] Sub 3.0/3.5 Completes pending engine tasks such as lock removal
OpenConnection Name As String, [Options], [ReadOnly], [Connect] Connection 3.5 Opens a connection to a database
OpenDatabase Name As String, [Exclusive], [ReadOnly], [Connect] Database 3.0 Opens a specified database
OpenDatabase Name As String, [Options], [ReadOnly], [Connect] Database 3.5 Opens a specified database
RegisterDatabase Dsn As String, Driver As String, Silent As Boolean, Attributes As String Sub 3.0/3.5 Enters connection information for an ODBC data source
RepairDatabase Name As String Sub 3.0/3.5 Repairs a corrupted database
Rollback   Sub 3.0/3.5 Rolls back any changes since the last BeginTrans
SetOption Option As Long, Value Sub 3.5 Overrides Jet registry settings



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint