masalachol
Technical User
I am trying to do the following in a query without success. Any suggestions
If ParseOne+ParseTwo-Imp3=-0.01
then
0.01+ParseTwo
Else
ParseTwo
OR
If ParseOne+ParseTwo-Imp3=0.01
then
ParseTwo-0.01
Else
ParseTwo
P2: IIf(([ParseOne]+[ParseTwo])-([Imp3])="-0.01",0.01+[ParseTwo],[ParseTwo]) & IIf(([ParseOne]+[ParseTwo])-([Imp3])="0.01",[ParseTwo]-0.01,[ParseTwo])
Instead of getting one value in the query field .... I am getting both values ie P2
5.485.47..... it should either be 5.48 or 5.47
-
If ParseOne+ParseTwo-Imp3=-0.01
then
0.01+ParseTwo
Else
ParseTwo
OR
If ParseOne+ParseTwo-Imp3=0.01
then
ParseTwo-0.01
Else
ParseTwo
P2: IIf(([ParseOne]+[ParseTwo])-([Imp3])="-0.01",0.01+[ParseTwo],[ParseTwo]) & IIf(([ParseOne]+[ParseTwo])-([Imp3])="0.01",[ParseTwo]-0.01,[ParseTwo])
Instead of getting one value in the query field .... I am getting both values ie P2
5.485.47..... it should either be 5.48 or 5.47
-