Count Records on a Subform while on the Main Form.

G

Guest

I have a Form and Subform, I want to have a textbox on the Main Form that
counts the records in the subform. I don not want to count all records, just
some, based on a criteria.
Is this possible?
I am trying with:
=Count([EventEmployee subform].[Form]![EmployeeID])
But I get and error on the text box
Thanks
 
G

Guest

You could use a query as the source of the field on your main form.
You could also use a field in the Footer of your subform and do the
calculation there. You can then reference that field on your main form.

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top