Date issue relating to table

chris-uk-lad

Registered User.
Local time
Today, 00:50
Joined
Jul 8, 2008
Messages
271
Hi all,

This is most likely a minor error on my part, Im trying to retrieve records from a column where the date is greater than 1st December 2008. I have 6 records as 05/01/2009 so this should work. Ive tried '01 December 2008', '#12/01/2008#' and '#01/12/2008#'

Code:
SELECT Name, Age FROM Report WHERE [Date Registered] > '#01/12/2008#'"

Many Thanks for the assist.
 
Try

Select Name, Age From Report WHERE [date Registered] > #12/01/2008#

JR
 
Yes get rid of the single quotes. Also it's not a bad idea to get out of the habit of using spaces in your field names. Use the description property in the table to control how they display.
 

Users who are viewing this thread

Back
Top Bottom