References Collection

Microsoft Access Visual Basic

References Collection

         
Multiple objects References
Reference

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.