Hi all,
I am using Access 2000. I am trying to add two fields together in a query. My query looks wrong because it doesn't want to to do the calculation on null values so this is what I have.
The two fields are
1. OneTimeFees
2. OngoingFees
My calculated field will be TotalFees.
Here is what I have thus far.
TotalFees: IIf (IsNull([OneTimeFees])),0,[OneTimeFees]) + IIf (IsNull([Ongoingfees],0,[Ongoingfees]))
Everytime I take my cursor off of the area, I get an error telling me my syntax is wrong. I know what I am doing wrong in general. I believe I am having problems w/ the parenthesese, but I don't know exactly what section. I have added more and taken some out to no avail. Can someone help me figure this out. I would really appreciate it.
Thanks!!
I am using Access 2000. I am trying to add two fields together in a query. My query looks wrong because it doesn't want to to do the calculation on null values so this is what I have.
The two fields are
1. OneTimeFees
2. OngoingFees
My calculated field will be TotalFees.
Here is what I have thus far.
TotalFees: IIf (IsNull([OneTimeFees])),0,[OneTimeFees]) + IIf (IsNull([Ongoingfees],0,[Ongoingfees]))
Everytime I take my cursor off of the area, I get an error telling me my syntax is wrong. I know what I am doing wrong in general. I believe I am having problems w/ the parenthesese, but I don't know exactly what section. I have added more and taken some out to no avail. Can someone help me figure this out. I would really appreciate it.
Thanks!!