Hi,
I have a problem with the Nz (nulltozero) function in a query.
The Nz function works well as long as there is a record , even if the field is empty, so far so good, but when there is no entry at all at one of the tables, the the Nz does not function.
Example
Table1 > field A contains no records
Table2 > field B contains one record the number: 10
Query1 > contains : field A and field B and Expression Exp1:Nz([field A],0) + Nz([field B],0)
This query1 gives nu results , but i would like to see:
0 + 10 = 10
does anybody knows the solution?
Thanks
Jim
I have a problem with the Nz (nulltozero) function in a query.
The Nz function works well as long as there is a record , even if the field is empty, so far so good, but when there is no entry at all at one of the tables, the the Nz does not function.
Example
Table1 > field A contains no records
Table2 > field B contains one record the number: 10
Query1 > contains : field A and field B and Expression Exp1:Nz([field A],0) + Nz([field B],0)
This query1 gives nu results , but i would like to see:
0 + 10 = 10
does anybody knows the solution?
Thanks
Jim