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

  1. Path: sparky!uunet!cs.utexas.edu!usc!howland.reston.ans.net!bogus.sura.net!darwin.sura.net!newsserver.jvnc.net!netnews.upenn.edu!netnews.noc.drexel.edu!n1-12-230-telecommunications-and-networking-group-development.ocs.drexel.edu!James.Mitchell
  2. From: James.Mitchell@CoE.drexel.edu (James E. Mitchell)
  3. Newsgroups: comp.sys.mac.databases
  4. Subject: FMP - Numbering Subsets of Records?
  5. Message-ID: <1993Jan24.225721.14571@netnews.noc.drexel.edu>
  6. Date: 24 Jan 93 22:57:21 GMT
  7. Sender: news@netnews.noc.drexel.edu
  8. Organization: Drexel University
  9. Lines: 28
  10. X-Xxmessage-Id: <A78896E44A020CE6@n1-12-230-telecommunications-and-networking-group-development.ocs.drexel.edu>
  11. X-Xxdate: Sun, 24 Jan 93 23:56:36 GMT
  12. X-Useragent: Nuntius v1.1.1d13
  13.  
  14. Imd like to number subsets of records in a reasonable way. To be
  15. specific, I have a database of people with multiple records per person.
  16. Imd like to create a sequence number for each record within the group,
  17. starting with the number one. i.e. Imd like the record set to look like
  18. this
  19.  
  20. Jones    1    .....
  21. Jones    2
  22. Jones    3
  23. Adams    1
  24. Adams    2
  25. Smith    1
  26. Smith    2
  27. Smith    3
  28. Smith    4
  29.  
  30. The numbers are to be in their own field and should be revisable as new
  31. records are entered.
  32.  
  33. It seems as though I ought to be able to do this with 
  34. same file, but Imve run into trouble because relooking-up always goes to
  35. the first instance of the record. Any suggestions are welcome - even a
  36. good reference on how to use relookups effectively. More specifically, is
  37. there a way to copy the value of a field in the previous record to one in
  38. the current record? I believe that would solve my problem.
  39.  
  40. BTW I saw an old Claris note suggesting the use of exporting to a clone
  41. and then doing a fancy lookup. Thats too much for me.
  42.