Results 1 to 4 of 4
  1. #1
    trident is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    141

    Query sum is not appearing

    I have several columns, and the sum of each column was taken, a 11th column was prepared to get the total sum of each row (Expr2), however, the sum of each row did not appear except for the row wherein all columns have data. Can any body help, a picture is attached.

    the formula written is: [SumofTT1]+[SumofTT2]+[SumofTT3]+[SumofTT4]+[SumofTT5]+[SumofTT6]+[SumofTT7]+[SumofTT8]+[SumofTT9]+[SumofTT10]



    i only got the desired result when all the coloumns have data, but for the others it was blank which should not be.
    +
    Thank you for your assistance.

    Trident.Click image for larger version. 

Name:	Capture.PNG 
Views:	6 
Size:	29.0 KB 
ID:	19047

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Try using the NZ() function. Something like:
    Nz([SumofTT1],0)+Nz([SumofTT2],0)+Nz([SumofTT3],0) etc
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    trident is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    141
    what is the meaning of NZ and the 0 at the end.

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Quote Originally Posted by trident View Post
    what is the meaning of NZ and the 0 at the end.
    See: http://www.techonthenet.com/access/f...dvanced/nz.php
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 04-21-2014, 08:00 AM
  2. Drop-down menu items not all appearing in query
    By joannehellen in forum Queries
    Replies: 1
    Last Post: 01-23-2014, 09:45 AM
  3. New Employee not appearing in form
    By Canadiangal in forum Forms
    Replies: 1
    Last Post: 06-09-2013, 05:15 PM
  4. Replies: 1
    Last Post: 09-05-2012, 01:36 PM
  5. Combo box with only one entry appearing
    By martaw in forum Reports
    Replies: 19
    Last Post: 08-14-2012, 04:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums