It seems like I'm having the most trouble getting totals in both reports and in a form. I have a stepped report that lists volunteers then the activities that have participated in. I am trying to get the total volunteer count, but it is counting every activity in the report rather than just the volunteers. The code I am using is:
=Count([VoulnteerID])
The other problem I am having is getting total volunteer hours on my main form. My main form shows all volunteer information and has a subform that list their volunteer actvities and individual volunteer hours(VolunteerHours). On the main form =Count([VoulnteerID]) works to get the total number of volunteers, but when I add another field to sum total volunteer hours both show #error. the code I have for the total volunteer hours is:
=Sum([VolunteerHours])
Any tips on getting totals??
=Count([VoulnteerID])
The other problem I am having is getting total volunteer hours on my main form. My main form shows all volunteer information and has a subform that list their volunteer actvities and individual volunteer hours(VolunteerHours). On the main form =Count([VoulnteerID]) works to get the total number of volunteers, but when I add another field to sum total volunteer hours both show #error. the code I have for the total volunteer hours is:
=Sum([VolunteerHours])
Any tips on getting totals??