What I have is a report which is grouped on Requested School, giving one page for each school. The report details pupils and what school year they are in.
What I am trying to do is count how many pupils, for each individual school, are in each class year. The code I have used is below, it works but it is counting every class 1 occurance in the whole database. I have put the code in the "Requested School" footer.
=DCount("[Requested School]","tblPersonalDetails","[Year] = '1'")
Can anyone help?
What I am trying to do is count how many pupils, for each individual school, are in each class year. The code I have used is below, it works but it is counting every class 1 occurance in the whole database. I have put the code in the "Requested School" footer.
=DCount("[Requested School]","tblPersonalDetails","[Year] = '1'")
Can anyone help?