Understanding Object Models

An object model is a road map, or the view from 30,000 feet, of all the objects and properties that VBA can manipulate. Because there are so many thousands of objects, you need a sort of road map to find them, just like you need a map to navigate unfamiliar territory.

When you view an object model (or portion of an object model), all you see are color-coded boxes arranged in a vertical hierarchy. For example, Figure 5-1 shows a graphical representation of the Access object model. Notice the legend in this figure, which points out that some boxes represent an object only, and others represent both an object and a collection.

Figure 5-1:

A small portion of the Access object model.

Figure 5-1:

A small portion of the Access object model.

Was this article helpful?

0 0

Post a comment