Results 1 to 5 of 5

Thread: Month (2003)

  1. #1
    5 Star Lounger
    Join Date
    May 2003
    Location
    Sheffield, Yorkshire
    Posts
    951
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Month (2003)

    I have a query which asks for a start date and end date. Is there a way I can display the date as the month. So if the start date was 01.06.2005 and the end date 30.06.2005, the display would read June 2005.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Month (2003)

    Display where? On a form or report, you can set the Format property of a text box to mmmm yyyy.

  3. #3
    5 Star Lounger
    Join Date
    May 2003
    Location
    Sheffield, Yorkshire
    Posts
    951
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Month (2003)

    On a report. But I don't want to display the start and end date, just the month they occure.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Month (2003)

    Say that your query has a parameter [Enter Start Date]. Place a text box on your report with Control Source =[Enter Start Date] and set its Format property to mmmm yyyy. It will display only the month and year, not the complete date.
    If that is not what you want, please explain.

  5. #5
    5 Star Lounger
    Join Date
    May 2003
    Location
    Sheffield, Yorkshire
    Posts
    951
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Month (2003)

    Yes, that's it. Thanks Hans.

Posting Permissions

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