ACC: How to Retrieve the Path or the File Name from the Name Property (182306)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
- Microsoft Visual Basic for Applications 5.0
This article was previously published under Q182306 SUMMARY
The Database object provided by Microsoft Data Access Objects (DAO)
has a Name property. However, this property returns the full path and
the file name of the database. In order to retrieve either the path or the
file name separately, you must parse the string returned by the Name
property by searching for slash characters ("/").
REFERENCES
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435
VBA: Programming Resources for Visual Basic for
Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming KB182306 |
---|
|