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

Chapter 17. From DAO to ADO > Opening a Database

Opening a Database

In DAO, you must use a Database object to access a database. ADO uses a Connection object to access a database.

In DAO, you can use the CurrentDB function to determine the currently loaded database. ADO, on the other hand, provides you with the Access project’s current connection to the SQL Server/MSDE database with CurrentProject.Connection.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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