J
jackrobyn1
I have a table/ form that i record employee accidents in, with fields - Ref
No, Name, Accident type, Date details recieved. The accident type field
choices are:- B = blameworthy, N = No blame, P = Part blame, so with a drop
down you select B, N or P. What i need is a query that i can use to give me
the number of blameworthy or part blame accidents per employee, so i can use
this in a weekly report. The report will have the weeks accidents on it but i
also want to include a sub report or new field or something that also shows
the count of blameworthy/part blame accident for each record shown for the
past year from the date of the most recently recieved accident details.
something like this:-
Ref Name Type Date recieved Number in last year
Acc01 J Smith B 01/08/2008 3
Acc02 F Bloggs p 02/08/2008 1
Acc03 P Jones B 02/08/2008 4
I would be grateful for any help
No, Name, Accident type, Date details recieved. The accident type field
choices are:- B = blameworthy, N = No blame, P = Part blame, so with a drop
down you select B, N or P. What i need is a query that i can use to give me
the number of blameworthy or part blame accidents per employee, so i can use
this in a weekly report. The report will have the weeks accidents on it but i
also want to include a sub report or new field or something that also shows
the count of blameworthy/part blame accident for each record shown for the
past year from the date of the most recently recieved accident details.
something like this:-
Ref Name Type Date recieved Number in last year
Acc01 J Smith B 01/08/2008 3
Acc02 F Bloggs p 02/08/2008 1
Acc03 P Jones B 02/08/2008 4
I would be grateful for any help