Share via


References Collection [Access 2003 VBA Language Reference]

Multiple objects
References
Reference
References

The References collection contains Reference objects representing each reference that's currently set.

Using the References Collection

The Reference objects in the References collection correspond to the list of references in the References dialog box, available by clicking References on the Tools menu. Each Reference object represents one selected reference in the list. References that appear in the References dialog box but haven't been selected aren't in the References collection.

You can enumerate through the References collection by using the For Each...Next statement.

The References collection belongs to the Microsoft Access Application object.

Individual Reference objects in the References collection are indexed beginning with 1.

Properties | Count Property

Methods | AddFromFile Method | AddFromGuid Method | Item Method | Remove Method

Events | ItemAdded Event | ItemRemoved Event

Parent Objects | Application | Reference

Child Objects | References

See Also | Application Object | Reference Object