R
Robert Gillard
I have a table with four fields:-
RefNo - autonumber
Project RefNo - The customers ref. no
TimeWorked - Although called "time" it is in amounts of .25, so 1hour 25mins
is input to the nearest quarter and becomes 1.50. (so it is a simple number
field.)
DateWorked - Date above work carried out.
So over a two month period the table may look like (assuming we just have
one project no 17)
1 17 2.50 01/3/2005
2 17 1.00 25/03/2005
3 17 1.00 29/03/2005
4 17 3.50 05/04/2005
5 17 2.00 18/04/2005
What I need to have after querying the table is the total time per project
per month and the last date the project was worked on in each month. So with
the above example the resulting query should give
17 4.50 29/03/2005
17 5.50 18/03/2005
In reality of course the table will contain details of over 40 projects
worked on per month.
Could anybody point me in the right direction with this please.
Bob
RefNo - autonumber
Project RefNo - The customers ref. no
TimeWorked - Although called "time" it is in amounts of .25, so 1hour 25mins
is input to the nearest quarter and becomes 1.50. (so it is a simple number
field.)
DateWorked - Date above work carried out.
So over a two month period the table may look like (assuming we just have
one project no 17)
1 17 2.50 01/3/2005
2 17 1.00 25/03/2005
3 17 1.00 29/03/2005
4 17 3.50 05/04/2005
5 17 2.00 18/04/2005
What I need to have after querying the table is the total time per project
per month and the last date the project was worked on in each month. So with
the above example the resulting query should give
17 4.50 29/03/2005
17 5.50 18/03/2005
In reality of course the table will contain details of over 40 projects
worked on per month.
Could anybody point me in the right direction with this please.
Bob