I am attempting (and have tried a number of ways e.g. copying part SQL to QBE) to show on my report when a customer has paid more than one donation receipt and has agreed to tax being part of this(called Gift Aid in UK. With an IIf expression, I wanted to indicate the following (which is not correct syntax): IIf([Receipts].[PayeeID]where count of[Receipts].[Receipt] >1, "M",""). Essentially I need to indicate an "M" (for multiple) where Gift Aid is "Yes" and the [PayeeID] has a count of more than one receipt. The report is already set up with Gift Aid at "Yes", so I just need to some how integrate the Where clause if that is possible. Any help will be gratefully received.
Ted.
Ted.