justin72
09-07-2004, 05:20 AM
Hi,
I am using Access 2000 and have a table with 100 odd unique names, linked to another table which have the same values many times. So the relationship is one to many.
I am trying to write a query that returns the unique fields from one table and the count of these fields from the other table eg:
Sam 10
Frank 8
Josh 5
etc etc....
What I am trying to do is something along the lines of COUNTIF in Excel. Any help would be absolutely fantastic! :)
The Unique fields are in table VEN_NWDB.Grouping and Many fields are in VEN_Trade_Confirms.Grouping
I am using Access 2000 and have a table with 100 odd unique names, linked to another table which have the same values many times. So the relationship is one to many.
I am trying to write a query that returns the unique fields from one table and the count of these fields from the other table eg:
Sam 10
Frank 8
Josh 5
etc etc....
What I am trying to do is something along the lines of COUNTIF in Excel. Any help would be absolutely fantastic! :)
The Unique fields are in table VEN_NWDB.Grouping and Many fields are in VEN_Trade_Confirms.Grouping