Problem doing simple math function with three fields

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a query with three currency fields I am tying to do the following
calculation

field1 +field2 - field3 If I have values in all three fields it works
fine.
field 2 is an adjustment field and can be positive or negative number.
If there is no value in field 2 which is not required I do not get a result.

Any help would be greaty appreciated.

Using Access 2003
 
Flanman said:
I have a query with three currency fields I am tying to do the following
calculation

field1 +field2 - field3 If I have values in all three fields it works
fine.
field 2 is an adjustment field and can be positive or negative number.
If there is no value in field 2 which is not required I do not get a result.

Any help would be greaty appreciated.

Using Access 2003


Nz(field1)+Nz(field2)-Nz(field3)
 
Back
Top