home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / hypercar / 4288 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.8 KB  |  37 lines

  1. Newsgroups: comp.sys.mac.hypercard
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!uvaarpa!vdoe386!tjhsst!bbooz
  3. From: bbooz@tjhsst.vak12ed.edu (William Booz (Bill))
  4. Subject: Creating Two Indices
  5. Message-ID: <1992Nov23.153753.2226@tjhsst.vak12ed.edu>
  6. Organization: Virginia's Public Education Network (Fairfax)
  7. Date: Mon, 23 Nov 92 15:37:53 GMT
  8. Lines: 27
  9.  
  10. I am creating a data base stack of books an authors. Each card
  11. will contain author's name and title of book. There may be
  12. several cards with the same author name, but the book title
  13. will, obviously, be unique on each card.  I have successfully
  14. created an index for the titles by scanning through the cards
  15. and putting the title field into a variable, setting the name
  16. of the card to the title of the book and then placing the
  17. variable into an index field on a separate card/background. How
  18. can I easily create another index of the authors and make my
  19. field script go to the selected work? My band-aid solution is
  20. to read the author name, a colon & space, title of book and
  21. short card id into variable which in turn is placed into index
  22. field for authors. The index field script can then pick up the
  23. cd id # as "last word" of the chosen line and go to that card.
  24. I don't like having that number visible to the user, however.
  25. In addition, I have thought that it would be ni not to repeat
  26. an author's name when there are several books by one author,
  27. but rather to have the index field recognize that there is more
  28. than one card with a book by the selected author and display
  29. (perhaps an otherwise hidden field...???) the list availab. A
  30. click on this field would take the user to the desired card.
  31. Any thoughts and/or suggestions?
  32.  
  33. -- 
  34.             _______________    __o        Bill Booz, Fairfax, VA
  35.         _________________     -\<,       bbooz@tjhsst.vak12ed.edu
  36.                         ......O/ O            Biking Is Fun!!
  37.