I have two tables in Access.
One table is of Projects, and the other table, is of components that belong to each project. The COMPONENTS table has a field Proj_ID which takes uses a drop down to the PROJECTS table as a lookup for the field.
I would like to write a query that will return the number of components for each Project but am struggling somewhat.
I have a query, which counts the number of records (Components) for each Project and displaed on it's own works fine.
The problem comes when I try to use the 'total' values in my DB.
Ideally, I would like a field in the Projects table that stores the number of components for that particular project, but no matter what I do it just doesn't seem to work.
Any suggestions?
One table is of Projects, and the other table, is of components that belong to each project. The COMPONENTS table has a field Proj_ID which takes uses a drop down to the PROJECTS table as a lookup for the field.
I would like to write a query that will return the number of components for each Project but am struggling somewhat.
I have a query, which counts the number of records (Components) for each Project and displaed on it's own works fine.
The problem comes when I try to use the 'total' values in my DB.
Ideally, I would like a field in the Projects table that stores the number of components for that particular project, but no matter what I do it just doesn't seem to work.
Any suggestions?