Results 1 to 6 of 6
  1. #1
    Dale S is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Posts
    8

    Print Data Range on Report

    I have a report that requires a beginning and ending date to be entered by the user. The report is tied to Qry_Second_Stage_04 that is tied to an earlier query called Qry_Downgrades where the beginning and ending are listed as criteria for a field called Production Date. What do I enter in the Text Box so that the beginning and ending date will show up on the report? Also, how can I get the dates to show up on each page of the report?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    I assume you're using something like [Enter start date] as a criteria, in which case you can have a textbox in the page header with a control source of:

    =[Enter start date]

    You can also concatenate both into a string.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Dale S is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Posts
    8
    It worked! Thanks. Ended up using a text box for the [Start Date] and a text box for the [End Date]. Then I put a label in between with the To in it. Turned out great. Much appreciated.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    Happy to help. You can also do this type of thing:

    ="From " & [Enter start date] & " to " & [Enter end date]
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Dale S is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Posts
    8
    Quote Originally Posted by pbaldy View Post
    Happy to help. You can also do this type of thing:

    ="From " & [Enter start date] & " to " & [Enter end date]
    Tried something similar to that but it did not work. What I tried was
    =[Start Date]&"To"&[End Date]

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    You'd want spaces around the &, but it should have worked. What went wrong?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 2
    Last Post: 05-06-2012, 11:10 AM
  2. Date Range Report
    By seth.murphine in forum Reports
    Replies: 3
    Last Post: 04-23-2012, 02:46 PM
  3. Replies: 1
    Last Post: 03-26-2012, 03:01 PM
  4. Replies: 8
    Last Post: 11-08-2011, 05:11 AM
  5. Replies: 0
    Last Post: 02-22-2011, 05:04 AM

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