home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / bit / listserv / dbasel / 1402 < prev    next >
Encoding:
Text File  |  1992-12-24  |  1.3 KB  |  40 lines

  1. Newsgroups: bit.listserv.dbase-l
  2. Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![tom.frazer@canrem.com]
  3. From: "tom frazer" <tom.frazer@canrem.com>
  4. Subject: conditional calculated fi
  5. Message-ID: <1992Dec24.4772.2057@dosgate>
  6. Reply-To: "tom frazer" <tom.frazer@canrem.com>
  7. Organization: Canada Remote Systems
  8. Distribution: bit
  9. Date: 24 Dec 92 02:11:05 EST
  10. Lines: 28
  11.  
  12.  
  13. ======\ Quoting: P NEWBY \======\ On: 12/22/1992 \===========
  14.  
  15. PN> A calculated field can be used to calculate a value, by setting an expr
  16. PN> eg f1+f2+f3.
  17. PN> 
  18. PN> Working just from the Control Center, is it possible to make this a con
  19. PN> calculation ? Something along the lines of:
  20. PN>    if (f99='student') then f1+f2+f3
  21.  
  22. ======================================\ END QUOTE \======================
  23.  
  24.     In what?
  25.     A screen form? Yes, but you must use IIF(f99='student',f1+f2+f3,f4+f5)
  26.     as the 'Expression'.
  27.  
  28.   Name               {TEST3}
  29.   Description        {}
  30.   Expression         IIF(f99=)      && don't forget you can use the
  31. ─────────────────────────────────── && expression builder (SHIFT-F1)
  32.   Template           {XXXXXXXXXXXXX
  33.  
  34.      Tom Frazer    tom.frazer@canrem.com    canrem!tom.frazer
  35. ---
  36.  . MegaMail 2.10 : Tagline?..We don't need no stinking tagline!
  37. --
  38. Canada Remote Systems  - Toronto, Ontario
  39. World's Largest PCBOARD System - 416-629-7000/629-7044
  40.