Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Month Format

Status
Not open for further replies.

fredk

Technical User
Jul 26, 2001
708
0
0
US
I have a query that is using the Month Format to summarize sales by month. I use the following in my query:

testmonth: Month([Detailed Effective Date1])

This works fine in giving me the number of the month. How can I convert the number into the actual month name? I have tried to use the format function and also just enter "mmmm" in the format property of the field.

Strangely enough, when I have done this, it has made my "testMonth" field results one December and changes all the rest to "January"

?????

I appreciate the help!!!! Thanks

 
Create a table that contains the following:
MonthID Name
01 January
02 February


ect.

I hope this helps
 
Got it - I did not even think about that route. Thanks very much!!!!

 
There is also a MonthName function in Acc2K which returns the full name of the month corresponding to a number (1-12)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top