Jul 6, 2005 #1 magmo Programmer May 26, 2004 291 SE Hi In SQL Server I can use this code.. DATENAME(mm, dbo.tblTest.Dateordered) AS MonthName But how do I write the same thing in MS Access? Regards
Hi In SQL Server I can use this code.. DATENAME(mm, dbo.tblTest.Dateordered) AS MonthName But how do I write the same thing in MS Access? Regards
Jul 6, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR Something like this ? Format(Dateordered, 'mmmm') Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Something like this ? Format(Dateordered, 'mmmm') Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Jul 6, 2005 Thread starter #3 magmo Programmer May 26, 2004 291 SE Great, Thanks a lot! Upvote 0 Downvote
Jul 6, 2005 #4 RoyVidar Instructor Jun 16, 2000 6,606 NO Be careful with using "Monthname" as alias , as it is also a function - MonthName(Month([DateField])) - should return the monthname too;-) Roy-Vidar Upvote 0 Downvote
Be careful with using "Monthname" as alias , as it is also a function - MonthName(Month([DateField])) - should return the monthname too;-) Roy-Vidar