| DatabaseLessons.com |
'Serving the Microsoft® Access |
|
|
Database Name on ReportAs reports are printed from a database, it is often useful to have the name of the database printed on the output. For example, you may have a number of versions of a particular MS Access database. As tests are done and reports printed, you need to know which version of the database it came from. Another way in which this method can be useful is when you copy a common report type from one database to another. If you hard code the database name, then everytime you move the report, you have to edit the name.
(article continues after sponsor spot) NOTE: All the VBA code segments on the Database Lessons site assume that you have DAO references active. If you are not sure what this means, and you are using Microsoft Access 2000 or higher, click here. Happy Coding |
|
|
© 2006, 2007, 2008 Richard W. Killey. All Rights Reserved. |