Here is the query....the Diff column is the difference between a field and a calculated field. Why do I get a popup asking to fill out the Diff value. If I leave it blank and click ok it runs and is correct.
SELECT DonationRecipients.RecipientName, DonationRecipients.ApprovedTaxCreditAmount, Sum(CCur(GetTaxPercentage([Donations].[DonationDate],[Donations].[DonationValue]))) AS TaxCredit, [ApprovedTaxCreditAmount]-[TaxCredit] AS Diff
FROM DonationRecipients INNER JOIN Donations ON DonationRecipients.RecipientID = Donations.RecipientID
GROUP BY DonationRecipients.RecipientName, DonationRecipients.ApprovedTaxCreditAmount, Donations.RecipientID, Diff;
SELECT DonationRecipients.RecipientName, DonationRecipients.ApprovedTaxCreditAmount, Sum(CCur(GetTaxPercentage([Donations].[DonationDate],[Donations].[DonationValue]))) AS TaxCredit, [ApprovedTaxCreditAmount]-[TaxCredit] AS Diff
FROM DonationRecipients INNER JOIN Donations ON DonationRecipients.RecipientID = Donations.RecipientID
GROUP BY DonationRecipients.RecipientName, DonationRecipients.ApprovedTaxCreditAmount, Donations.RecipientID, Diff;