If i have a Date/Time field in Access and i need to find all the entries that are in a specific year... say 2009. If my fields are set up as MM/DD/YYYY, how would i do a query to essentially do //2009
update Thanks for the help everyone, but i guess the issue is that I'm kind of dynamically constructing my SQL statement in ASP.
"SELECT * FROM database WHERE (datecolumn LIKE " & string & ")" where the string ends up returning a string i constructed 'DD/MM/YYYY'. If the user inputs nothing into either of the 3 fields, i'll needa do a specific query where that part is a wildcard... as in if they don't put in a day, i'd essentially need a
"SELECT * FROM database WHERE (datecolumn LIKE "*/MM/YY")".... which doesnt work in microsoft access