calculation in a query returns #Error

  • Thread starter Thread starter Pat Wright
  • Start date Start date
P

Pat Wright

For some reason I can't get a simple calculation in a
query to work:

TOTALPOINTS: nz([PRODPOINTS],0)+nz([POINTS],0)

It produces an error if points is a null value.

Any help would be greatly appreciated.

Pat Wright
 
For some reason I can't get a simple calculation in a
query to work:

TOTALPOINTS: nz([PRODPOINTS],0)+nz([POINTS],0)

It produces an error if points is a null value.

Odd. If you type Ctrl-G and type

?NZ(NULL)

in the Immediate window, do you get an error, or a zero?

You don't perchance have a user function named NZ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Access #Error & Excel Pivot 0
Division by Zero Error 1
DSum update query with multiple fields 0
Nz function 0
DSum Problem 7
DSum Problems 2
Combine IIf with NZ to get null for zero calculated sum? 3
NZ function 1

Back
Top