G
Guest
I am creating a query and limiting the data with an expression for a column
containing dates. The problem seems to be that Access doesn't recognize the
column in my table as containing only dates, because when I input the
expression:
Between #1/1/1993# And #1/1/2004#
Access automatically puts quotes around the expression like this:
Between "#1/1/1993#" and "#1/1/2004#"
and it doesn't work.
I have tried other expressions, like:
<#1/1/2004# and <'1/1/2004'
and Access always puts quotes on it, I assume because it is reading the
column as text?
I'm not terribly familiar with Access, but I assume I have to do something
to re-format the column as a date column. I have already changed all the
dates so they appear in the same format, ie. 1/1/2004. There is no text in
any of the fields.
I know that the problem is not with my table, because I can use a date
expression with other columns and the expression works fine.
Please help!!
containing dates. The problem seems to be that Access doesn't recognize the
column in my table as containing only dates, because when I input the
expression:
Between #1/1/1993# And #1/1/2004#
Access automatically puts quotes around the expression like this:
Between "#1/1/1993#" and "#1/1/2004#"
and it doesn't work.
I have tried other expressions, like:
<#1/1/2004# and <'1/1/2004'
and Access always puts quotes on it, I assume because it is reading the
column as text?
I'm not terribly familiar with Access, but I assume I have to do something
to re-format the column as a date column. I have already changed all the
dates so they appear in the same format, ie. 1/1/2004. There is no text in
any of the fields.
I know that the problem is not with my table, because I can use a date
expression with other columns and the expression works fine.
Please help!!