jamespeters01
IS-IT--Management
Hi all,
I am trying to count the number of records in my subform which relate to the main form.
I have so far
=DCount("[SAMPLE_ID]","sample_table"
This works to an extent that it counts all the records within my sample_table. What I'd really like is it to count the number of records in the subform that refer the same field (ENQ NUMBER) in the main table.
Have tried a few different things, but with no success.
Any ideas ??
Thanks
I am trying to count the number of records in my subform which relate to the main form.
I have so far
=DCount("[SAMPLE_ID]","sample_table"
This works to an extent that it counts all the records within my sample_table. What I'd really like is it to count the number of records in the subform that refer the same field (ENQ NUMBER) in the main table.
Have tried a few different things, but with no success.
Any ideas ??
Thanks