I have a form called "ViewHeadcount" that is linked to the table "Updated Headcount"
On the form there are fields "Employee Type" and "Count". There is a textbox at the top that I want to sum the values in "Count" for all the records that "Employee Type" = Salary.
I tried putting =Sum(IIf([Employee Type]="Salary",[Count],0)) but I get #Error. Any ideas??
Thanks!