AccessNewbie2007
Registered User.
- Local time
- Today, 09:26
- Joined
- Aug 5, 2007
- Messages
- 24
Hi all,
I have a table:
date | in | out | whouse | wblock
I have a simple query with a criteria for wblock that returns all the data sorted by date, I am trying to set a criteria w whouse to sum up the in and out based on date but it is not working
example:
01/01/2010 | 12 | 15 | w1 | wb1
01/01/2010 | 12 | 15 | w1 | wb2
02/01/2010 | 15 | 20 | w1 | wb1
02/01/2010 | 15 | 20 | w1 | wb2
I need to be able to set criteria = w1 and be able to output
01/01/2010 | 24 | 30
02/01/2010 | 30 | 40
Thanks in advance for the kind help
I have a table:
date | in | out | whouse | wblock
I have a simple query with a criteria for wblock that returns all the data sorted by date, I am trying to set a criteria w whouse to sum up the in and out based on date but it is not working
example:
01/01/2010 | 12 | 15 | w1 | wb1
01/01/2010 | 12 | 15 | w1 | wb2
02/01/2010 | 15 | 20 | w1 | wb1
02/01/2010 | 15 | 20 | w1 | wb2
I need to be able to set criteria = w1 and be able to output
01/01/2010 | 24 | 30
02/01/2010 | 30 | 40
Thanks in advance for the kind help