Have 2 'date' fields in a table.
One is date/time data type : 11/09/2000
Second is text data type: 20001109
(Tables are populated elsewhere and frequently appended, so I cannot change data types in the table)
Is it possible to create criteria for a query field that
will successfully compare the two?
that is: date1 = #11/09/2000#
date2 = 20001110
date1 < date2 = TRUE.
I tried: date1 < (Format(date2,"Long Date"
)
and date2 < (Format(date2,"Short Date"
)
but these give me 'type mismatch errors' ANY IDEAS?
One is date/time data type : 11/09/2000
Second is text data type: 20001109
(Tables are populated elsewhere and frequently appended, so I cannot change data types in the table)
Is it possible to create criteria for a query field that
will successfully compare the two?
that is: date1 = #11/09/2000#
date2 = 20001110
date1 < date2 = TRUE.
I tried: date1 < (Format(date2,"Long Date"
and date2 < (Format(date2,"Short Date"
but these give me 'type mismatch errors' ANY IDEAS?