Hi, I have a table with a date/time field in an Access database. I want to have a query grouped on the date, with no regard to time, so that all records from the same day are grouped. I need a function (in SQL-Access) that will extract the day part of a date/time value, in a form that is still suitable for sorting, and I connot find any one.
I tried LEFT(mydate, 8), but it generates a date like mm/dd/yy not suitable for sorting. What I need is the date of the day in true date format, not as a string. Any idea ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com

