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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Month Name

Status
Not open for further replies.

Costefran

Technical User
Jan 2, 2008
197
GB
Can anyone help with SQL to find the month name of a field in my query called "Date"

I can find the number of the month with

Month({Date])

But thought I would be able to use the following to find the month name

MonthName([Date])

I get the message saying its too complex to be evaluated

Thanks
 


Hi,

Date is a reserve word. NOt a smart idea to use reserve works as field names...
Code:
Format([Date],"mmmm")


Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top