Interacting with Data Using ADO and SQL

In this chapter, you turn your attention to one of the most important concepts in Access programming: working with data in databases. Data is, after all, at the heart of almost every application. Programmers typically write applications to enable users to interact with data in meaningful ways. You have probably created Access applications yourself that retrieve data using forms that are bound directly to tables.

This chapter expands your knowledge of working with data by covering the basics of retrieving and modifying data from VBA code using ActiveX Data Objects (ADO). You will create the same contact form in three different ways so that you can see the various approaches to interaction with the same underlying data source. I will also cover the basics of writing SQL statements to interact with the database. The chapter ends with a brief section on the ADOX object model that can be used to manage database objects such as tables, users, and groups.

0 0

Post a comment