Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

The ADO Object Model

Visual Studio 6.0

Remember when we examined the DAO Object model? It was quite a bit more involved than the ADO object model. We'll take a look at the ADO object model, then write a quick program that examines the various parts of the structure. Here's a graphic summarizing the model:

Here's how what we do with our code relates to the figure: Once we open a Connection to the database, we will then create a Recordset with that connection. From the Recordset, we will access the Fields Collection and, through it, the fields of the database.

We will write a simple program that shows each of these components of the ADO object model. But let's review the model first. This way, we can refer to the model as we write our program.

© 1998 by Wrox Press. All rights reserved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.