Properties Collection (Microsoft Access)

Properties Collection

See Also         Example         Properties                 

Application object
Multiple objects
Properties collection (Control object)
Properties collection (Form object)
Properties collection (Report object)

The Properties collection contains all of the built-in properties in an instance of an open Form, Report, or Control object. These properties uniquely characterize that instance of the object.

Remarks

Use the Properties collection in Visual Basic or in an expression to refer to form, report, or control properties on forms or reports that are currently open.

Tip   The For Each...Next statement is useful for enumerating a collection.

You can use the Properties collection of an object to enumerate the object's built-in properties. You don't need to know beforehand exactly which properties exist or what their characteristics (Name and Value properties) are to manipulate them.

Note   In addition to the built-in properties, you can also create and add your own user-defined properties. To add a user-defined property to an existing instance of an object, see the AccessObjectProperties collection and Add method topics.