I am working on and incident report database.
I have created a report for viewing information on the People Affected but before viewing this report, from a form, you must select who is affected from the option group .... "1" = Employee, "2" = Patient, "3" = Visitor / Volunteer, the value goes into the [PersonAffected] field. and then you select the beginning date and the ending date.
Now, on my report I have a summary box with the following information:
2002 Summary:
Quarter: #Incidents #EmplInci #PtInci #V/VInci
1 2 0 0 2
2 2 0 1 1
3 15 4 8 3
4 1 0 1 0
----- ----- ----- -----
Totals: 20 4 10 6
well actually that is the information that I am supposed to have but I am doing something wrong in my DCount function and the information appears like this:
Quarter: #Incidents #EmplInci #PtInci #V/VInci
1 2 4 10 6
2 2 4 10 6
3 15 4 10 6
4 1 4 10 6
----- ----- ----- -----
Totals: 20 4 10 6
this is an example of my DCound function:
=DCount("[PersonAffected]", "IncidentsByPersonQuery", "[PersonAffected] = '1'"
please help if you know why it is not counting the amount of incidents per person affected = '1' (meaning person affected being employees) FOR EVERY quarter.
Thank you!
=o)
I have created a report for viewing information on the People Affected but before viewing this report, from a form, you must select who is affected from the option group .... "1" = Employee, "2" = Patient, "3" = Visitor / Volunteer, the value goes into the [PersonAffected] field. and then you select the beginning date and the ending date.
Now, on my report I have a summary box with the following information:
2002 Summary:
Quarter: #Incidents #EmplInci #PtInci #V/VInci
1 2 0 0 2
2 2 0 1 1
3 15 4 8 3
4 1 0 1 0
----- ----- ----- -----
Totals: 20 4 10 6
well actually that is the information that I am supposed to have but I am doing something wrong in my DCount function and the information appears like this:
Quarter: #Incidents #EmplInci #PtInci #V/VInci
1 2 4 10 6
2 2 4 10 6
3 15 4 10 6
4 1 4 10 6
----- ----- ----- -----
Totals: 20 4 10 6
this is an example of my DCound function:
=DCount("[PersonAffected]", "IncidentsByPersonQuery", "[PersonAffected] = '1'"
please help if you know why it is not counting the amount of incidents per person affected = '1' (meaning person affected being employees) FOR EVERY quarter.
Thank you!
=o)