Hi All,
I'm trying to create a calculated query (nothing fancy) but I'm having an issue with null values. When I run the query if omits results as it is trying to calculate against a null field.
I have tried to add nz() to the calculations but I must be getting this wrong.
Could you please review my code and advise where I am going wrong?
Without Nz()
Without Nz()
I'm trying to create a calculated query (nothing fancy) but I'm having an issue with null values. When I run the query if omits results as it is trying to calculate against a null field.
I have tried to add nz() to the calculations but I must be getting this wrong.
Could you please review my code and advise where I am going wrong?
Code:
UNIT PRICE VARIANCE (NET): Nz([P/S CURRENT UNIT NET PRICE]-Nz([NEW UNIT PRICE (NET)]))
Code:
[P/S CURRENT UNIT NET PRICE]-[NEW UNIT PRICE (NET)]
Code:
NEW UNIT PRICE (NET): Nz([NEW PACK PRICE (NET)]/Nz([NEW PACK SIZE]))
Code:
NEW UNIT PRICE (NET): [NEW PACK PRICE (NET)]/[NEW PACK SIZE]
Code:
NEW PACK PRICE (NET): Nz([Tot Prc])-Nz([Tot Prc]*(Nz([Discount]/100)))[CODE]
Without Nz()
[CODE]NEW PACK PRICE (NET): [Tot Prc])-[Tot Prc]*([Discount]/100)[CODE]