I have a Client table with a field called Primary_Heating_Fuel. There are 7 different values that could be in this field. I need to count how many of each value there are and this is the first value I'm trying to count. I keep getting an error. The record needs to meet both values to get counted.
PF1 Count: IIf(Client!Primary_Heating_Fuel="Natural Gas" And [~tempJobCompleted]![Add On]=False,1,0)
PF1 Count: IIf(Client!Primary_Heating_Fuel="Natural Gas" And [~tempJobCompleted]![Add On]=False,1,0)