>Count to JanCount for Alltrim(Crimetype) = "B&E Garage" and Month(CrimeDate)= 1 ; >or Alltrim(Crimetype)= "B&E Home" and Month(CrimeDate)= 1 ; >or Alltrim(Crimetype)= "Home invasion" and Month(CrimeDate)= 1 ; >or Alltrim(Crimetype)= "B&E Business" and Month(CrimeDate)= 1 ; >or Alltrim(Crimetype)= "B&E Cabin" and Month(CrimeDate)= 1 >Might you not simplify this as follows?
count to JanCount for inlist(AllTrim(CrimeType), "B&E Garage", "B&E Home", ...); and Month(CrimeDate) = 1)