Print filename on report

Hi - I'm hoping there is a very simple solution for this one...

I would like the dbase path and filename to automatically print at the bottom of the report without having to hardcode it.  Excel and Word has % variables to add to the headers and footers.  I can't seem to find that same set of options in Access.  Is there something I can type in to have it print these for me without hardcoding the full path and filename?

Who is Participating?

Improve company productivity with a Business Account.Sign Up

peroveConnect With a Mentor Commented:
Add a textbox to the report.

Give the textbox this countrolsource:


OverthereAuthor Commented:
Thanks so much - I figured it would be pretty simple!
I tried this in Access 2010.  Code is not recognized.

What works in Access 2010?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.