Article ID: 209849 - Last Review: October 11, 2006 - Revision: 3.3 How to loop through the references to view their properties in Access 2000
This article was previously published under Q209849 For a Microsoft Access 97 version of this article,
see
186305
(http://support.microsoft.com/kb/186305/
)
. Moderate: Requires basic macro,
coding, and interoperability skills. This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp). SUMMARY When you view the location of references with the References dialog box on the Tools menu, the trailing portion of the path name may be truncated
because of the limitations of the dialog box. This article shows you how to use
a Visual Basic for Applications procedure to loop through the References collection and retrieve the properties of each reference.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. MORE INFORMATION To loop through the References collection and retrieve the properties of each reference, follow
these steps:
REFERENCESFor more information about the References collection, in the
Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type reference object in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For more information about enumerating through the References collection by using the For Each...Next statement, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type next in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For additional information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base: 226118
(http://support.microsoft.com/kb/226118/EN-US/
)
OFF2000: Programming Resources for Visual Basic for Applications
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
