home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / database / 1793 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.0 KB

  1. Path: sparky!uunet!gatech!rpi!bu.edu!dartvax!coos.dartmouth.edu!hades
  2. From: hades@coos.dartmouth.edu (Brian Hughes)
  3. Newsgroups: comp.sys.mac.databases
  4. Subject: Re: FM Pro Help
  5. Message-ID: <C1F75r.LzC@dartvax.dartmouth.edu>
  6. Date: 25 Jan 93 17:27:26 GMT
  7. References: <ratcliff-210193143155@mokajava.ucsd.edu>
  8. Sender: news@dartvax.dartmouth.edu (The News Manager)
  9. Reply-To: hades@Dartmouth.Edu
  10. Organization: Dartmouth College, Hanover, NH
  11. Lines: 37
  12. Disclaimer: Personally, I really don't care who you think I speak for.
  13. Moderator: Rec.Arts.Comics.Info
  14.  
  15. ratcliff@ucsd.edu (John Ratcliff) writes:
  16.  
  17. >To try and make it clearer suppose each record looks like this:
  18.  
  19. >Item      Description                 Type Code     Amount
  20. > 1        Acme Road Runner Trap       AB123         $55.00
  21. > 2        10 D Nails                  AB121         $ 1.01
  22. > 3        2 by 4 10 ft                AX432         $ 4.89
  23. > 4        Chicken Wire                AB123         $ 2.05
  24.  
  25. >How do I get a dollar total across multiple records of this
  26. >type with possibly Multiple Type Codes in one record.
  27.  
  28.     If Amount is a repeating field, then you can use the calculation
  29. formula Sum() which takes a repeating field as input and gives you the
  30. total of all the elements in the field. You would then be able to use
  31. a Summary Total field to get the totals across multiple records.
  32.  
  33. >Unfortunately the number of possible type codes is large and it
  34. >would be difficult to predict which ones will be entered.
  35. >So some sort of dynamic Type Code summarizing is needed.
  36.  
  37. >ie:    Type Code     Grand Total 
  38. >        AB121          $45.56
  39. >        AB123          $34.45
  40. >        AB234          $ 3.98
  41. >        AX432          $ 5.50
  42.  
  43.     This kind of information would be extremely difficult to get using
  44. FM Pro. You would need a separate record for every item and then you
  45. would be able to distinguish which items used which codes. This will
  46. give you a database with a ton of records that are all really small, as
  47. opposed to a database with a smaller number of records that are fairly
  48. large.
  49.  
  50. -Hades
  51. --
  52.