home *** CD-ROM | disk | FTP | other *** search
- 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
- From: rscott@vineland.pubs.stratus.com (Richard Scott)
- Newsgroups: comp.os.ms-windows.apps
- Subject: Re: ACCESS: computations with blank fields
- Message-ID: <1k1q6fINN5n7@transfer.stratus.com>
- Date: 25 Jan 93 22:39:11 GMT
- References: <1993Jan25.194751.2567@tijc02.uucp>
- Distribution: usa
- Organization: Stratus Computer Inc, Marlboro MA
- Lines: 14
- NNTP-Posting-Host: attila.pubs.stratus.com
-
- In article <1993Jan25.194751.2567@tijc02.uucp> kjf388@tijc02.uucp (Ken Fisher
- ) writes:
- >
- > On-line help says the "sum" function interprets blanks as zero, but that
- > does not seem to be the case.
- Yes, the Sum function (as in 'Sum(x)') does interpret Null values (blanks) as
- zero. But the expression operators (as in '+'), do not. In expressions, binary
- operators with either or both operands Null yield a Null result. I ran into
- the same problem and was able to get around it only by writing functions (e.g.,
- NonNullDifference(x,y) in Access BASIC.
- -----
- Richard Scott
- Stratus Computer, Inc.
- rscott@vineland.pubs.stratus.com
-