Dec 1, 2005 #1 mlocurci MIS Oct 17, 2001 210 US I want to have a GroupBy query but the format of the date in the table is a timestamp. How do I correctly perform a GroupBy?
I want to have a GroupBy query but the format of the date in the table is a timestamp. How do I correctly perform a GroupBy?
Dec 1, 2005 #2 lupins46 MIS Feb 19, 2004 2,509 GB Do you mean a SQL Server timestamp or do you mean its an Access DateTime field. In either case why is it a problem? Upvote 0 Downvote
Do you mean a SQL Server timestamp or do you mean its an Access DateTime field. In either case why is it a problem?
Dec 1, 2005 Thread starter #3 mlocurci MIS Oct 17, 2001 210 US Its an access DateTime field. When a do the groupBy it groups by date and time and gives a count of 1 for each item. Upvote 0 Downvote
Its an access DateTime field. When a do the groupBy it groups by date and time and gives a count of 1 for each item.
Dec 1, 2005 #4 lupins46 MIS Feb 19, 2004 2,509 GB So what are you wanting it to do? Upvote 0 Downvote
Dec 1, 2005 Thread starter #5 mlocurci MIS Oct 17, 2001 210 US Group by just the date 1/1/05 5 1/2/05 10 1/3/05 12 Ignore the time. Upvote 0 Downvote
Dec 1, 2005 #6 PHV MIS Nov 8, 2002 53,708 FR If you want to group by day: GROUP BY Int([your DateTime field]) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
If you want to group by day: GROUP BY Int([your DateTime field]) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886