Solved

Print filename on report

Posted on 2002-03-07
3
357 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
3 Comments
 
LVL 9

Accepted Solution

by:
perove earned 50 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

809 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