Solved

Print filename on report

Posted on 2002-03-07
3
355 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now