Solved

Print filename on report

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

733 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