Apr 10, 2002 #1 BigM Programmer Aug 30, 2000 39 GB Hi, Probably really simple but cant find out how anywhere but...how do I extract the month name from a date in a sql query in access. So I want to extract "May" from this date "06/05/1967" which is in format DD/MM/YYYY. TIA
Hi, Probably really simple but cant find out how anywhere but...how do I extract the month name from a date in a sql query in access. So I want to extract "May" from this date "06/05/1967" which is in format DD/MM/YYYY. TIA
Apr 11, 2002 Thread starter #3 BigM Programmer Aug 30, 2000 39 GB Thanks but I have tried that but I get "Undefined Function 'Format' in expression" SELECT Format(scheduled_date,'mmmm') FROM View_Scheduled_Actions; Upvote 0 Downvote
Thanks but I have tried that but I get "Undefined Function 'Format' in expression" SELECT Format(scheduled_date,'mmmm') FROM View_Scheduled_Actions;
Apr 11, 2002 #4 braindead2 Technical User Nov 11, 2010 647 GB you need to use an alias SELECT Format([scheduled_date],'mmmm')as datemonth FROM View_Scheduled_Actions; or you may have to refresh your references if Access is not recognizing format as a function Upvote 0 Downvote
you need to use an alias SELECT Format([scheduled_date],'mmmm')as datemonth FROM View_Scheduled_Actions; or you may have to refresh your references if Access is not recognizing format as a function
Apr 11, 2002 #5 jebry Programmer Aug 6, 2001 3,006 US Hi! While in the code window, select Tools/References and scroll down the list box to make sure none are marked as missing. hth Jeff Bridgham bridgham@purdue.edu Upvote 0 Downvote
Hi! While in the code window, select Tools/References and scroll down the list box to make sure none are marked as missing. hth Jeff Bridgham bridgham@purdue.edu