A
Aly
I'm running the following query:
SELECT [Records Database].IPT, [Records Database].[TEST
TYPE], [Defect Codes].[Defect Code], Count([Defect Codes].
[Defect Code]) AS [CountOfDefect Code], [Records
Database].DATE FROM [Defect Codes] INNER JOIN [Records
Database] ON [Defect Codes].Description = [Records
Database].[DEFECT CODE]GROUP BY [Records Database].IPT,
[Records Database].[TEST TYPE], [Defect Codes].[Defect
Code], [Records Database].DATE HAVING ((([Records
Database].DATE) Between [ENTER START DATE] And [ENTER END
DATE]));
I want this query to give me a total for each defect code
that occurs within a month for a given date range. Right
now it tells me the total for each day in the range. What
am I doing wrong? All help would be greatly appreciated!
SELECT [Records Database].IPT, [Records Database].[TEST
TYPE], [Defect Codes].[Defect Code], Count([Defect Codes].
[Defect Code]) AS [CountOfDefect Code], [Records
Database].DATE FROM [Defect Codes] INNER JOIN [Records
Database] ON [Defect Codes].Description = [Records
Database].[DEFECT CODE]GROUP BY [Records Database].IPT,
[Records Database].[TEST TYPE], [Defect Codes].[Defect
Code], [Records Database].DATE HAVING ((([Records
Database].DATE) Between [ENTER START DATE] And [ENTER END
DATE]));
I want this query to give me a total for each defect code
that occurs within a month for a given date range. Right
now it tells me the total for each day in the range. What
am I doing wrong? All help would be greatly appreciated!