I am trying to count the number of records in a subform w/ linked fields "Index". The following code works without the "SIndex" criteria, but I want to count the number of records w/ SIndex (of the subform) equalling a certain value.
= DCount("*", "Job Summary Query", "SIndex =" & SIndex And "Index =" & [Index])
= DCount("*", "Job Summary Query", "SIndex =" & SIndex And "Index =" & [Index])