?
Solved

Print filename on report

Posted on 2002-03-07
3
Medium Priority
?
360 Views
Last Modified: 2013-11-18
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?

THANKS!!
0
Comment
Question by:Overthere
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
perove earned 200 total points
ID: 6847632
Add a textbox to the report.

Give the textbox this countrolsource:

=[CurrentDb].[Name]

perove
0
 

Author Comment

by:Overthere
ID: 6847842
Thanks so much - I figured it would be pretty simple!
0
 

Expert Comment

by:TimothyA
ID: 39656508
I tried this in Access 2010.  Code is not recognized.

What works in Access 2010?

Timothy
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question