Added new field to query

  • Thread starter Thread starter Charles G via AccessMonster.com
  • Start date Start date
C

Charles G via AccessMonster.com

I've added a new field to my query, [Rolled Coin], and added this change to
my expression in my query in which I run a report.
Volume: Sum((((((((([Pennyrolls]+[Nickelrolls]+[Dimerolls]+[Quarterrolls]+
[Halverolls]+[Dollarrolls]+[Boxx50]+[Currency Volume]+[Rolled Coin]))))))))).

Now when I run my report my Volume field is empty?

I have two queries. One query has all the calculations while the second query
is built from the first in which I run my report.

I thought I could add [Rolled Coin] to my table, make a textbox in my form,
add it to my expression above and add the field to my 2nd query. Of course,
this didn't work.

-Charles-
 
Does your table have any Null values? If any of the fields that make up your
Volume calculation are Null, Volume will be Null.
You should probably use the NZ function to coerce Null values to Zero.

Volume: Sum(nz([Pennyrolls],0) + nz([Nickelrolls],0) + (etc)....)

HTH,
 
Does your table have any Null values? If any of the fields that make up your
Volume calculation are Null, Volume will be Null.
You should probably use the NZ function to coerce Null values to Zero.

Right on George! Thank you very much.
 

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

Back
Top