thundermane
Registered User.
- Local time
- Tomorrow, 06:51
- Joined
- Sep 23, 2011
- Messages
- 14
Hello everyone. I have a names table linked to a 2nd table where I have a date/time stamp field and a quantity field. Is there a way to summarize the quantity field for every n, and show the corresponding date/time stamps?
For example, I have these data for a guy named "Stephen"
Date/time Qty
"9/1/2011 13:05" 2
"9/2/2011 13:52" 2
"9/2/2011 18:02" 1
"9/3/2011 13:00" 2
"9/4/2011 14:20" 3
"9/4/2011 17:01" 1
and I want to summarize(? or group, dunno the right word) them every 5 Qty
so I would get something like
Date/time Qty
"9/1/2011 13:05" 2
"9/2/2011 13:52" 2
"9/2/2011 18:02" 1
Total 5
"9/3/2011 13:00" 2
"9/4/2011 14:20" 3
Total 5
"9/4/2011 17:01" 1
Showing the total on a row or a column doesn't matter, as long as I can summarize/group the rows accordingly. Is there a way to do it? I'm using Access 2007 by the way.
For example, I have these data for a guy named "Stephen"
Date/time Qty
"9/1/2011 13:05" 2
"9/2/2011 13:52" 2
"9/2/2011 18:02" 1
"9/3/2011 13:00" 2
"9/4/2011 14:20" 3
"9/4/2011 17:01" 1
and I want to summarize(? or group, dunno the right word) them every 5 Qty
so I would get something like
Date/time Qty
"9/1/2011 13:05" 2
"9/2/2011 13:52" 2
"9/2/2011 18:02" 1
Total 5
"9/3/2011 13:00" 2
"9/4/2011 14:20" 3
Total 5
"9/4/2011 17:01" 1
Showing the total on a row or a column doesn't matter, as long as I can summarize/group the rows accordingly. Is there a way to do it? I'm using Access 2007 by the way.