Chapter 29Manipulating the Data in an Access Database via VBA
This chapter shows you how to use VBA to manipulate data in an Access database. You can also manage Access databases from within another VBA-enabled application—for example, from Excel or from Word. However, here we'll focus on Access VBA.
There are two main ways to manage data in an Access database: via Data Access Objects (DAO) or via ActiveX Data Objects (ADO). DAO, now deprecated (no longer approved of), is the older technology, and it works for both Microsoft Jet databases (also now deprecated) and ODBC-compliant data sources. (ODBC is Open Database Connectivity, a long-existing standard for accessing databases. ODBC is also useful for accessing open-source solutions, such ...
Get Mastering VBA for Microsoft Office 2016 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.