Try CDate(ActivityDate - Timevalue(ActivityDate)) Between ....

Signature
Dave Hargis, Microsoft Access MVP
> SELECT 5 as MyID, ActivityDate, tblEmployee.FirstName as Employee,
> WorkingHour as MyValue, "Working Hour" as MyCode from tblActivity
[quoted text clipped - 17 lines]
>
> Your help is great appreciated,
Souris - 18 Apr 2008 16:02 GMT
Thanks millions,
> Try CDate(ActivityDate - Timevalue(ActivityDate)) Between ....
>
[quoted text clipped - 19 lines]
> >
> > Your help is great appreciated,
Dale Fye - 18 Apr 2008 17:23 GMT
???
Instead of subtracting the TimeValue, why not just use the DateValue( )
function:
WHERE DateValue([ActivityDate]) Between ....
Dale

Signature
Don''t forget to rate the post if it was helpful!
email address is invalid
Please reply to newsgroup only.
> Try CDate(ActivityDate - Timevalue(ActivityDate)) Between ....
>
[quoted text clipped - 19 lines]
> >
> > Your help is great appreciated,