B
Bill
Win98 SE, A2k
Need to get a total in the report footer that
reflects the total PT - the supervisors amount.
The following give the desired results in a query feeding the report.
PT creates the total PT dollars.
Supv creates the supv dollars.
PT: IIf(([TherID])=1,([MonthlyVisits]*[CurrRateAmt]))
Supv: IIf(([Contacts].[ContactID])=1,([MonthlyVisits]*[CurrRateAmt]))
However, when I attempt to subtract Supv from PT, I get nothing.
This is the syntax I am using:
(It is in the field block of the query grid)
TotalPT:
IIf(([TherID])=1,([MonthlyVisits]*[CurrRateAmt]))-IIf(([Contacts].[ContactID
])=1,([MonthlyVisits]*[CurrRateAmt]))
Can you subtract one IIF from another? If not, can you point me to an
alternative?
Thanks,
Bill
Need to get a total in the report footer that
reflects the total PT - the supervisors amount.
The following give the desired results in a query feeding the report.
PT creates the total PT dollars.
Supv creates the supv dollars.
PT: IIf(([TherID])=1,([MonthlyVisits]*[CurrRateAmt]))
Supv: IIf(([Contacts].[ContactID])=1,([MonthlyVisits]*[CurrRateAmt]))
However, when I attempt to subtract Supv from PT, I get nothing.
This is the syntax I am using:
(It is in the field block of the query grid)
TotalPT:
IIf(([TherID])=1,([MonthlyVisits]*[CurrRateAmt]))-IIf(([Contacts].[ContactID
])=1,([MonthlyVisits]*[CurrRateAmt]))
Can you subtract one IIF from another? If not, can you point me to an
alternative?
Thanks,
Bill