G
Guest
I have the following query as my report record source. If I run this query
as is it will display all (correct number) records. However, if I run it
specifying a date range for [Check Request Recd Date], it does not display
the right amount of data. In fact it categorizes the data into the wrong
months as well (when the data is grouped by month).
SELECT [Claims Details].Job, Format(DMin("[Check Request Recd Date]","Claims
Details","[Job] = '" & [Job] & "'"),"dd-mmm-yyyy") AS [Check Request Recd
Date], Sum([Claims Details].[Check Amount]) AS [Total Paid]
FROM [Claims Details]
WHERE ((Not ([Claims Details].[Check Request Recd Date]) Is Null))
GROUP BY [Claims Details].Job, Format(DMin("[Check Request Recd
Date]","Claims Details","[Job] = '" & [Job] & "'"),"dd-mmm-yyyy");
Any help would be appreciated.
Thanks
as is it will display all (correct number) records. However, if I run it
specifying a date range for [Check Request Recd Date], it does not display
the right amount of data. In fact it categorizes the data into the wrong
months as well (when the data is grouped by month).
SELECT [Claims Details].Job, Format(DMin("[Check Request Recd Date]","Claims
Details","[Job] = '" & [Job] & "'"),"dd-mmm-yyyy") AS [Check Request Recd
Date], Sum([Claims Details].[Check Amount]) AS [Total Paid]
FROM [Claims Details]
WHERE ((Not ([Claims Details].[Check Request Recd Date]) Is Null))
GROUP BY [Claims Details].Job, Format(DMin("[Check Request Recd
Date]","Claims Details","[Job] = '" & [Job] & "'"),"dd-mmm-yyyy");
Any help would be appreciated.
Thanks