home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / apps / 7514 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.os.ms-windows.apps
  2. Path: sparky!uunet!tijc02!kjf388
  3. From: kjf388@tijc02.uucp (Ken Fisher          )
  4. Subject: ACCESS: computations with blank fields
  5. Message-ID: <1993Jan25.194751.2567@tijc02.uucp>
  6. Organization: Siemens Industrial Automation, Johnson City TN
  7. Distribution: usa
  8. Date: Mon, 25 Jan 93 19:47:51 GMT
  9. Lines: 24
  10.  
  11. I'm having a problem getting simple computed sums of fields to work
  12. properly in an ACCESS report if any one of the referenced fields is
  13. blank.  Paradox has a default option on whether or not to regard blanks
  14. as zero, but I cannot find a similar option in ACCESS.  
  15.  
  16. For example the text in the control is: 
  17.  
  18.     =[OFFICE]+[HOLIDAY]+[TRAINING]
  19.  
  20. And the report shows a proper result if all three fields have a number
  21. (even zero) in them.  But if any field is empty, the result field on the
  22. report is blank.
  23.  
  24. On-line help says the "sum" function interprets blanks as zero, but that
  25. does not seem to be the case.  
  26.  
  27. Gotta be a way, but I can't find it or get thru to the Microsoft ACCESS
  28. hotline. 
  29.  
  30. -------------------------------------------------------------------------
  31. Ken Fisher                          | kjf388%tijc02@uunet.uu.net
  32. Siemens Industrial Automation, Inc. | UUCP: uunet!tijc02!kjf388
  33. Johnson City, Tn. 37605             | Phone: 615-461-2125
  34. -------------------------------------------------------------------------
  35.