home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / apps / 7526 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.2 KB

  1. Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!hri.com!noc.near.net!transfer.stratus.com!transfer.stratus.com!usenet
  2. From: rscott@vineland.pubs.stratus.com (Richard Scott)
  3. Newsgroups: comp.os.ms-windows.apps
  4. Subject: Re: ACCESS: computations with blank fields
  5. Message-ID: <1k1q6fINN5n7@transfer.stratus.com>
  6. Date: 25 Jan 93 22:39:11 GMT
  7. References: <1993Jan25.194751.2567@tijc02.uucp>
  8. Distribution: usa
  9. Organization: Stratus Computer Inc, Marlboro MA
  10. Lines: 14
  11. NNTP-Posting-Host: attila.pubs.stratus.com
  12.  
  13. In article <1993Jan25.194751.2567@tijc02.uucp> kjf388@tijc02.uucp (Ken Fisher           
  14. ) writes:
  15. > On-line help says the "sum" function interprets blanks as zero, but that
  16. > does not seem to be the case.
  17. Yes, the Sum function (as in 'Sum(x)') does interpret Null values (blanks) as  
  18. zero.  But the expression operators (as in '+'), do not. In expressions, binary  
  19. operators with either or both operands Null yield a Null result.  I ran into  
  20. the same problem and was able to get around it only by writing functions (e.g.,  
  21. NonNullDifference(x,y) in Access BASIC.  
  22. -----
  23. Richard Scott
  24. Stratus Computer, Inc.
  25. rscott@vineland.pubs.stratus.com
  26.