home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / database / 990 < prev    next >
Encoding:
Text File  |  1992-08-16  |  3.0 KB  |  66 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!wupost!gumby!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!ccu.umanitoba.ca!djwiebe
  3. From: djwiebe@ccu.umanitoba.ca (Darren J. Wiebe)
  4. Subject: Re: Another FileMaker Pro question
  5. Message-ID: <1992Aug16.221538.5080@ccu.umanitoba.ca>
  6. Organization: University of Manitoba, Winnipeg, Canada
  7. References: <1992Aug14.090939.14131@nntp.uoregon.edu> <1992Aug15.213459.13281@dartvax.dartmouth.edu>
  8. Date: Sun, 16 Aug 1992 22:15:38 GMT
  9. Lines: 55
  10.  
  11. In <1992Aug15.213459.13281@dartvax.dartmouth.edu> geoffb@coos.dartmouth.edu (Geoff Bronner) writes:
  12.  
  13. >In <1992Aug14.090939.14131@nntp.uoregon.edu> srussell@cie.uoregon.edu (Steven Russell) writes:
  14.  
  15. >>Ok, here's another question:  I want to be able to create a field
  16. >>that adds values from two other fields.  If field "A" contains the
  17. >>value 20, and field "B" contains 17, I want my proposed field to
  18. >>become 37.  So far, this is trivial, but I would like this same field
  19. >>to be selectable for manual data entry if both fields "A" and "B" are
  20. >>undefined.  If this is not possible, I will settle for having the
  21. >>field be selectable for data entry without depending on the values in
  22. >>fields "A" and "B".  Is this possible, or am I asking too much?  I've
  23. >>looked through the manual for help with this, but haven't found a way
  24. >>to make it work.
  25.  
  26. >The only way you could do this would be to define your proposed field as a
  27. >calculation field, let the calculation run, and thenb redefine it as a
  28. >number field. But you would have to re-run the calculation on an irregular
  29. >basis.
  30. >geoffb@Dartmouth.EDU - Computing Support Consultant, Tuck School of Business
  31.  
  32. Huh???
  33.  
  34. Truthfully, the only way to accomplish this is as follows:
  35.  
  36. Field A & B are numbers
  37. Field W = A + B (Calculation)
  38. Field X = Number field with auto-increment serial number (Start at say 1)
  39. Field Y = Number field with defined values of 0 and 50000 (arbitrary but large)
  40. dfg
  41. :wq
  42. Field Z = X + Y
  43.  
  44.  
  45. Field C = Number field which looks up within the same file and copies the
  46.           contents of W into C when a new value in Z matches a value in X
  47.  
  48. In this case if you define Y as radio buttons and size the box so you can't
  49. see the 0 and 50000, you have a little toggle switch to perform the lookup, so
  50. you can type in field C, but whenever you toggle, the value will be replaced
  51. with the actual calculation...
  52.  
  53. There are a couple ways to make it work a bit easier, but they are more complica
  54. ted in the formula's and require a special procedure when entering data, this is
  55. the most user friendly way...
  56.  
  57. (<=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=>)
  58. Darren J. Wiebe                         | Internet:  djwiebe@ccu.umanitoba.ca
  59. Box 141, Station L                      | AppleLink: CDA0010T
  60. Winnipeg, Manitoba, Canada  R3H 0Z4     | Quote: 'scuse me,
  61. Disclaimer:  Disclaimer!  I don't need  |            while I puke and die!
  62.               no stinkin' disclaimer!   |                   -The Dead Milkmen
  63. (<=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=>)
  64.  
  65.  
  66.