Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Between...And Operator and Reports - Such Fun (2000 SR1)

    I have a query set up with a Between...And operator set for the criteria on a date field (allowing me to prompt the user for the range of dates they wish to run the query on). I have a report based on this query, and it works fine, but I would like the date range the user selects to appear on the report. Is there a way to reference the date they enter and display it in a textbox on the report? I know how to display the values of other fields, but there isn't a value name, that I know of, for data that comes in through a prompt like that. Any ideas? Thanks!

  2. #2
    Platinum Lounger
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    4,594
    Thanks
    0
    Thanked 27 Times in 27 Posts

    Re: Between...And Operator and Reports - Such Fun (2000 SR1)

    Unless you have setup the date range as parameter prompts I don't think you can.

    That's just my 2 cents worth.
    Cheers,
    Pat

  3. #3
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Between...And Operator and Reports - Such Fun (2000 SR1)

    Have a look at this thread
    The post of PBricker is what you want.
    Francois

  4. #4
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Between...And Operator and Reports - Such Fun (2000 SR1)

    That's it exactly--thanks! I used this variation:

    =Format([Enter first date],"Short Date") & " to " & Format([Enter last date],"Short Date")

    and it worked perfectly!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •