I have a problem with calculating the total qty of two fields.
When I calculate the values of the fields it pastes the values after each other.
For example: if you have the values 1 and 2 (which should become 3) then the result is a value of 12.
I've tried changing the function to SUM() but that didn't work.
The reason I am using NZ() is due to the fact that some values have a NULL value in one or both of the fields and if NZ is not included it will not calculate anything.
Code:
QtyMapics: Nz([MapicsQty];0)
QtySubComp: Nz([SubComponentQty];0)
TotalQty: [QtyMapics]+[QtySubComp]
When I calculate the values of the fields it pastes the values after each other.
For example: if you have the values 1 and 2 (which should become 3) then the result is a value of 12.
I've tried changing the function to SUM() but that didn't work.
The reason I am using NZ() is due to the fact that some values have a NULL value in one or both of the fields and if NZ is not included it will not calculate anything.