I have a report where I'm using the following code in an unbound text box to try to arrive at a subtotal of Pledges Received for each golfer registered:
GolferPledgesReceived=DSum("[PledgeAmount]","qryPledgeStatus","[Received] = True" And "[GolferLastName] = '" & [GolferLastName] & "'")
PledgeAmount = currency
Received = Yes/No
The report is grouped by Golfer Last Name and the text box is placed in the Golfer Last Name footer.
I've got a text box for PledgeAmount in the GolferLastName footer that is subtotalling by golfer correctly. But right now, the amount in the GolferPledgesReceived text box is the total of all pledges for all golfers - whether or not Received is True.
Any/all assistance is GREATLY appreciated!
GolferPledgesReceived=DSum("[PledgeAmount]","qryPledgeStatus","[Received] = True" And "[GolferLastName] = '" & [GolferLastName] & "'")
PledgeAmount = currency
Received = Yes/No
The report is grouped by Golfer Last Name and the text box is placed in the Golfer Last Name footer.
I've got a text box for PledgeAmount in the GolferLastName footer that is subtotalling by golfer correctly. But right now, the amount in the GolferPledgesReceived text box is the total of all pledges for all golfers - whether or not Received is True.
Any/all assistance is GREATLY appreciated!