I have a calculated field, ExtraKP, in a qryRentCalc0
I am trying to make a tax calculation when two conditions are met:
1. When [PState] = “SC”
2. When [RentPaidDate] is after 06/30/2007.
My formula is as follows
ExtraKP: IIf([RentPaidDate] > #06/30/2007# and [PState]= “SC”,[NonRoomTaxable]*0.01,0)
I have a situation where
RentPaidDate = 06/01/07
PState= “SC”
NonRoomTaxable = $40.00
The formula is returning $0.40
Since the RentPaidDate is earlier than 06/30/07, it should return 0
What am I doing wrong?
Tom