Excellent! I had been using different combinations of &, & " " & to join the
date and time, but that just wasnt working. I'll have to learn the
difference's between the + and the & in access, but by using the + to join
the two fields, i am now able to do exactly what i needed to do, Thanks much!
> The best way would probably be to store both the date and the time in one
> datetime field.
[quoted text clipped - 22 lines]
> > between
> > say 11/14/2005 4:00pm and 11/15/2005 6:00am?
John Spencer - 02 Dec 2005 18:22 GMT
In this case, the + is actually ADDING the Date (which is stored as a
number) and the time (which is stored as a number) together. When you use
the & it concatenates the two together and makes them a string. The string
can be forced back to a dateTime by using the CDate function, but that can
fail if the concatenation creates a string that CDate can't convert.
> Excellent! I had been using different combinations of &, & " " & to join
> the
[quoted text clipped - 29 lines]
>> > between
>> > say 11/14/2005 4:00pm and 11/15/2005 6:00am?