Results 1 to 2 of 2
  1. #1
    bdtran is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2016
    Posts
    1

    Count Not Null Fields

    Hello,



    I’m new to Access and this is my first project as needed to create a new column “TotalCount” in the same table and insert the total count of all not null fields of the row record as shown in the pictures. Your advice is much appreciated.

    Click image for larger version. 

Name:	totalcount.jpg 
Views:	7 
Size:	27.5 KB 
ID:	25394

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    In the original query, convert all NULL to zero using NZ([field])
    THEN produce this crosstab query.

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

Similar Threads

  1. Can't get the count if fiedl is Null
    By Thompyt in forum Programming
    Replies: 1
    Last Post: 03-08-2015, 04:48 PM
  2. Count if Null Expression
    By Huddle in forum Reports
    Replies: 3
    Last Post: 03-07-2012, 04:43 PM
  3. Count() and Null Values
    By jpvonhemel in forum Queries
    Replies: 4
    Last Post: 10-21-2011, 03:37 AM
  4. Replies: 1
    Last Post: 02-25-2011, 06:11 PM
  5. use 0 for null value in count query
    By hyperionfall in forum Queries
    Replies: 1
    Last Post: 11-07-2010, 05:12 PM

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