Skip to Content
Beginning Access™ 2007 VBA
book

Beginning Access™ 2007 VBA

by Denise Gosnell
April 2007
Beginner
573 pages
12h 41m
English
Wrox
Content preview from Beginning Access™ 2007 VBA

5.1. Introduction to Data Access

ADO is an acronym for ActiveX Data Objects. DAO stands for Data Access Objects. Both ADO and DAO allow you to manipulate databases from your Access 2007 VBA code.

The prior editions of this book with Access 2002 and earlier covered DAO in detail. DAO has been around since the earliest versions of Access and has always been an excellent data access method for working with native Access data.

ADO is a better choice for building sophisticated, multiuser applications or applications that interact with databases other than Access. It appears that DAO is being phased out, and most books and other resources you find on the topic recommend that ADO be used for all new development. I agree with this recommendation and have, therefore, in both the prior 2003 edition of the book and now with this 2007 edition continued to focus the examples on ADO. If you are dealing with older Access applications that have DAO code, consult the 2002 or prior editions of this book for a comprehensive explanation of DAO, or the online help documentation built into Access and the VBA Editor.

ADO should not be confused with ADO.NET. ADO.NET is a version of ADO that is designed to work with the Microsoft Visual Studio .NET development environment. Although ADO and ADO.NET have a lot of features in common, they are also different in numerous ways. In the future, it is possible that Microsoft will integrate the ADO.NET functionality into Microsoft Access to replace ADO, but such ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Access™ 2007 VBA Programmer's Reference

Access™ 2007 VBA Programmer's Reference

Teresa Hennig, Rob Cooper, Geoffrey Griffith, Armen Stein
Access 2003 VBA Programmer's Reference

Access 2003 VBA Programmer's Reference

Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein

Publisher Resources

ISBN: 9780470046845Purchase book