M
Mike K.
Hello all
Due to complex design requirements, I was forced to use a
table field that contains dates but had to be a non date
data type...
just to quickly explain, the field actually contains
values that look like: "054 - 07/09/2003" and when I want
to Isolate the date part, I use a query parameter that
looks like:
Admission Date: Right([AdmissionID],10)
so now I have a column in the query that look and could
behave just like a date data type, but access seems to
only view it as integers naturally.
So, obviously when I run a query criteria parameter
like "Between 6/1/2002 And 6/29/2003" it returns
incorrect results...
is there any "work around" for this?? any way to force
access to treat the date "look-a-likes" as true dates??
(Expressions, process, or code??)
Thanks in advance for the help,
Mike K.
PS. the only "work around that I have found so far is to
import that look-a-like dates column into a new table
where that field IS a date data type, then design a query
based on that new table, but this is pretty cumbersome
and time consuming since it would have to be done every
time...
Due to complex design requirements, I was forced to use a
table field that contains dates but had to be a non date
data type...
just to quickly explain, the field actually contains
values that look like: "054 - 07/09/2003" and when I want
to Isolate the date part, I use a query parameter that
looks like:
Admission Date: Right([AdmissionID],10)
so now I have a column in the query that look and could
behave just like a date data type, but access seems to
only view it as integers naturally.
So, obviously when I run a query criteria parameter
like "Between 6/1/2002 And 6/29/2003" it returns
incorrect results...
is there any "work around" for this?? any way to force
access to treat the date "look-a-likes" as true dates??
(Expressions, process, or code??)
Thanks in advance for the help,
Mike K.
PS. the only "work around that I have found so far is to
import that look-a-like dates column into a new table
where that field IS a date data type, then design a query
based on that new table, but this is pretty cumbersome
and time consuming since it would have to be done every
time...