NZ Function -- PLEASE HELP!!

  • Thread starter Thread starter bteitelbaum
  • Start date Start date
B

bteitelbaum

Hi All,

I have a query, and in this query I am calculating Difference.

So thats what I have:


Difference: ([Quantum Daily Trading]-nz([C1 PnL Attribution Actual],
0))


Everything is working good, but C1 PnL Attribution Actual has a NULL
value. So query spits an empty field, and my manager wants to see 0.

Please resond to: (e-mail address removed)


Thanks in advance,
B
 
If C1 PnL Attribution Actual is Null, then the Nz function will replace it
with 0.

Are you sure it's not Quantum Daily Trading that's Null?

--
Doug Steele, Microsoft Access MVP

(no private e-mails, please)


Hi All,

I have a query, and in this query I am calculating Difference.

So thats what I have:


Difference: ([Quantum Daily Trading]-nz([C1 PnL Attribution Actual],
0))


Everything is working good, but C1 PnL Attribution Actual has a NULL
value. So query spits an empty field, and my manager wants to see 0.

Please resond to: (e-mail address removed)

That's not how newsgroups work. If you post your question to the newsgroup,
you come back to the newsgroup to get your answer.

And you REALLY shouldn't ever post your actual e-mail in newsgroups: there
are lots of unscrupulous people out there who "scrape" e-mails from
newsgroups and use them for spamming.
 

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

Help! i cant get Nz function to work in report! 1
nz function data type problem 9
Nz function 2
Nz function 0
Nz function question 1
NZ function 1
MSQuery and NZ() 1
Using Nz function 1

Back
Top