home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: bit.listserv.dbase-l
- Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![tom.frazer@canrem.com]
- From: "tom frazer" <tom.frazer@canrem.com>
- Subject: conditional calculated fi
- Message-ID: <1992Dec24.4772.2057@dosgate>
- Reply-To: "tom frazer" <tom.frazer@canrem.com>
- Organization: Canada Remote Systems
- Distribution: bit
- Date: 24 Dec 92 02:11:05 EST
- Lines: 28
-
-
- ======\ Quoting: P NEWBY \======\ On: 12/22/1992 \===========
-
- PN> A calculated field can be used to calculate a value, by setting an expr
- PN> eg f1+f2+f3.
- PN>
- PN> Working just from the Control Center, is it possible to make this a con
- PN> calculation ? Something along the lines of:
- PN> if (f99='student') then f1+f2+f3
-
- ======================================\ END QUOTE \======================
-
- In what?
- A screen form? Yes, but you must use IIF(f99='student',f1+f2+f3,f4+f5)
- as the 'Expression'.
-
- Name {TEST3}
- Description {}
- Expression IIF(f99=) && don't forget you can use the
- ─────────────────────────────────── && expression builder (SHIFT-F1)
- Template {XXXXXXXXXXXXX
-
- Tom Frazer tom.frazer@canrem.com canrem!tom.frazer
- ---
- . MegaMail 2.10 : Tagline?..We don't need no stinking tagline!
- --
- Canada Remote Systems - Toronto, Ontario
- World's Largest PCBOARD System - 416-629-7000/629-7044
-