USING PROPERTIES AND METHODS

The capability to program an object's properties and methods isn't new to Access. Access forms and controls have always had both. For example, the Visible property on a control causes a control to be either visible or invisible. The Requery method on a form restarts the underlying query.

The following sections discuss the mechanics for setting and retrieving a property's value, call ing methods, and manipulating objects.

Using Existing Properties

Access provides a large number of properties. Almost all actions in Access involve setting a property. However, the user interface hides the complexities surrounding properties. For example, the form consists of many properties. The form has a caption displayed on the title ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming 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.