S
Slez via AccessMonster.com
I'm trying to display the sum of data in a report footer, but can't quite get
the expression to work.
In one of the grouping levels, BidNumber, the header contains a control named
BidType, and another calculated control that sums records in the detail
section of the report. The name of that control is txtBidTotal. I only want
the sum of the values where [BidType] = "Base Bid".
The expression I created is:
=Sum(IIf([BidType]="Base Bid",[txtBidTotal],0))
When I run the report, it prompts me for txtBidTotal. I can click OK and it
returns with a value of "0".
Any suggestions?
Thanks
Slez
the expression to work.
In one of the grouping levels, BidNumber, the header contains a control named
BidType, and another calculated control that sums records in the detail
section of the report. The name of that control is txtBidTotal. I only want
the sum of the values where [BidType] = "Base Bid".
The expression I created is:
=Sum(IIf([BidType]="Base Bid",[txtBidTotal],0))
When I run the report, it prompts me for txtBidTotal. I can click OK and it
returns with a value of "0".
Any suggestions?
Thanks
Slez