Hi,
I have a database that stores gas safety audits by engineers. I would like to create a query that counts the total number of 'Post Job Audits' per engineer.
I have tried using the DCount in the query to do this which shows the correct total but displays it against all engineers and not for each engineer that have post job audits. The DCount code I am using is below
Total On Job Audits: DCount("PostOnJobAudit","JobAudit","PostOnJobAudit='Post Job Audit'")
Once this is working, I would then like to use this query to display the total on job audits in the engineer details form.
Any help would be appreciated.
Craig
I have a database that stores gas safety audits by engineers. I would like to create a query that counts the total number of 'Post Job Audits' per engineer.
I have tried using the DCount in the query to do this which shows the correct total but displays it against all engineers and not for each engineer that have post job audits. The DCount code I am using is below
Total On Job Audits: DCount("PostOnJobAudit","JobAudit","PostOnJobAudit='Post Job Audit'")
Once this is working, I would then like to use this query to display the total on job audits in the engineer details form.
Any help would be appreciated.
Craig