Results 1 to 5 of 5
  1. #1
    catat is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    17

    Displaying Parameter Values in Page Header

    Hello...



    I have searched and searched for this answer.. maybe not enough apparently..
    Anyways, I have a parameter query set up asking for two dates, like so... Between [Start Date (dd/mm/yyyy)] And [End Date {dd/mm/yyyy)] .. I would like to have these two dates displayed on the report page or report header. I'm sure it is a simple formula, and I have come across a few, but they have never worked for me.

    Thanks for the help! I really appreciate it...

  2. #2
    unnamedplayer is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    7
    Hey I actually am working on a report right now and needed the same thing! What I did is in the query that is used for the report, I made sure the Start and End dates were columns and then you can just put a text box in your header and the control source as =[StartDate] or whatever your column name is.

  3. #3
    catat is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    17
    Okay, thanks! That worked perfectly!
    The reason all of the formulas were not working for me was because I was trying to have the formula [Start Date (dd/mm/yyyy)] And [End Date {dd/mm/yyyy)] all in one text box. I actually created two seperate text boxes... The first with =[Start Date (dd/mm/yyyy)] and the second with =[End Date {dd/mm/yyyy)] .

    Thanks so much for the quick reply!

  4. #4
    unnamedplayer is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2010
    Posts
    7
    Actually you should be able to get them all in one text box by doing something like
    Code:
    =[Start] & " - " & [End]
    That is what I did in my report so for example the header shows up as 1/1/10 - 1/31/10

  5. #5
    catat is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    17
    Ohhh okay, even better! Here I was working on lining up all of my extra text boxes... That works much better. Thanks very much.

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

Similar Threads

  1. Page break on report inserts empty page between
    By Galadrielle in forum Reports
    Replies: 0
    Last Post: 07-07-2010, 04:18 AM
  2. Vertical alignment of page Header
    By diane802 in forum Reports
    Replies: 6
    Last Post: 01-19-2010, 12:54 PM
  3. Report Header on Each Page
    By nweird in forum Reports
    Replies: 1
    Last Post: 07-24-2009, 07:57 AM
  4. Replies: 0
    Last Post: 02-11-2009, 06:43 PM
  5. Replies: 4
    Last Post: 01-05-2006, 02:36 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