LillyC
asked on
How to force a zero into a blank field via a query in Access 2010
Could anyone advice how I force a zero into a blank field in a query:
I have 2 cost columns and just want to deduct one from the other, so I need to force a zero into one of the columns where is doesn't return a value.
I have 2 cost columns and just want to deduct one from the other, so I need to force a zero into one of the columns where is doesn't return a value.
try
expr: Nz([Field2],0)-Nz([Field1] ,0)
expr: Nz([Field2],0)-Nz([Field1]
ASKER
Great... thank you :)
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Calc:Nz([Field2])-Nz([Fiel