Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in the Ms Access dbase i am writing a field to enter date.
in the program i want to select all records in a particular month i.e

SQL
select * from Table1 where dateSold = 'jan'


how to retrieve month from date entered in access file
Posted
Updated 23-Aug-11 11:11am
v2

Something like this:

SQL
where DatePart("m", dateSold) = 1
 
Share this answer
 
Comments
TheyCallMeMrJames 23-Aug-11 16:06pm    
My 5.
Hi use
month(date Sold) = 1
hope this will helps to u
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900