Results 1 to 2 of 2
  1. #1
    GordonT is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2012
    Location
    Lincolnshire
    Posts
    12

    Display the Filename in a Report.

    Is it possible to display / print the database filename (blah.accdb) in a Report in Access 2010?

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    Perhaps you could use:
    CodeProject.Name

    in a function. Something like:
    Code:
    Private Function fnProjectName() As String
      fnProjectName = CodeProject.Name
    End Function
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

Please reply to this thread with any new information or opinions.

Similar Threads

  1. importing data if it's a certain filename
    By token_remedie in forum Access
    Replies: 3
    Last Post: 09-25-2011, 05:46 PM
  2. Variuse FileName When Export
    By shay in forum Import/Export Data
    Replies: 1
    Last Post: 12-01-2010, 11:36 AM
  3. Date and time in filename
    By frankesjoberg in forum Import/Export Data
    Replies: 1
    Last Post: 03-02-2010, 12:35 PM
  4. Report control of a field display/no display
    By systems013 in forum Reports
    Replies: 5
    Last Post: 02-01-2010, 09:44 AM
  5. Replies: 0
    Last Post: 06-11-2009, 01:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums