ACC2: Use CurrentDB() Rather Than DBEngine(0)(0)
Article ID: 131881
Article Last Modified on 7/5/2002
APPLIES TO
- Microsoft Access 2.0 Standard Edition
This article was previously published under Q131881
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
The "CurrentDB Function" topic in the Microsoft Access Help system makes
an incorrect recommendation in the "Note" section that reads as follows:
Note The CurrentDB function is included in this version of Microsoft
Access for compatibility with previous versions. It is recommended that
you use the Databases(0) element of the Databases collection instead.
For more information, see Examples of Converting Code to Version 2.0.
STATUS
This behavior no longer occurs in Microsoft Access version 7.0.
REFERENCES
For more information about the CurrentDB() function, search for
"CurrentDB," and then "CurrentDB Function (Data Access)" using the
Microsoft Access Help
menu.
Keywords: kbprogramming KB131881