Hi,
I am having a problem where I need to count 225 records per agent from a pool of about 50 agents. This will be part of a monthly report. The current SQL code is as follows:
SELECT Top 225 [File Reps].FirstName, Audits.Errors, Audits.Financial, Audits.[Audit Date] FROM [File Reps] INNER JOIN Audits ON [File Reps].[File RepsID] = Audits.[Agent Name] WHERE (((Audits.[Audit Date]) Between [Start Date] And [End Date]));
This code only returns 225 records total. I need it to return 225 records per Agent Name. Can anyone help?
I am having a problem where I need to count 225 records per agent from a pool of about 50 agents. This will be part of a monthly report. The current SQL code is as follows:
SELECT Top 225 [File Reps].FirstName, Audits.Errors, Audits.Financial, Audits.[Audit Date] FROM [File Reps] INNER JOIN Audits ON [File Reps].[File RepsID] = Audits.[Agent Name] WHERE (((Audits.[Audit Date]) Between [Start Date] And [End Date]));
This code only returns 225 records total. I need it to return 225 records per Agent Name. Can anyone help?