Convert Month Number to Month Name in Report based on query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CindySue
    New Member
    • May 2007
    • 52

    Convert Month Number to Month Name in Report based on query

    Hello--I've got a query that uses DatePart("m",[Date Completed]) to select records for a particular month, and then a report based on that query. I'd like to be able to create a field in the report that says what month they are for. I can get the month number by using =DatePart("m",[Date Completed]) in a text box, but I can't find a way to convert it to the month name. I've experimented with a couple of things I found in the forum, but I'm not talented enough to get them to work. Any help would be appreciated. Thanks.
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    Use the Format function instead:
    Format([Date Completed], "mmmm"))

    Comment

    • CindySue
      New Member
      • May 2007
      • 52

      #3
      That works beautifully! Thank you so much!

      Comment

      Working...