D
DCH
Can anyone help me with this expression?
I have a report linked to a query with the following fields bieng pulled
from various tables:
[NRP] Currency: Non Recurring Price
[#] Number: Quantity
[TDAPP] Yes (0)/No(-1): Term Discount Applicable
In the report I have created the following calculated fields:
[TotalNRP] = [NRP]* [#]
[TDNRP] =IIf([TDAPP]="-1",[NRP]*[#],"0")
Both of which perform well. My problem is I need to total the TDNRP column
of the report.
I tried creating a new field called [TotalTDNRP] =sum
(IIf([TDAPP]="-1",[NRP]*[#],"0")) and it didn’t work.
Any help would be greatly appreciated.
Many thanks, David.
I have a report linked to a query with the following fields bieng pulled
from various tables:
[NRP] Currency: Non Recurring Price
[#] Number: Quantity
[TDAPP] Yes (0)/No(-1): Term Discount Applicable
In the report I have created the following calculated fields:
[TotalNRP] = [NRP]* [#]
[TDNRP] =IIf([TDAPP]="-1",[NRP]*[#],"0")
Both of which perform well. My problem is I need to total the TDNRP column
of the report.
I tried creating a new field called [TotalTDNRP] =sum
(IIf([TDAPP]="-1",[NRP]*[#],"0")) and it didn’t work.
Any help would be greatly appreciated.
Many thanks, David.