Solved

Print filename on report

Posted on 2002-03-07
3
352 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
Comment Utility
Add a textbox to the report.

Give the textbox this countrolsource:

=[CurrentDb].[Name]

perove
0
 

Author Comment

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

Expert Comment

by:TimothyA
Comment Utility
I tried this in Access 2010.  Code is not recognized.

What works in Access 2010?

Timothy
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
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…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

763 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

11 Experts available now in Live!

Get 1:1 Help Now