home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / hypercar / 4292 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  3.2 KB

  1. Path: sparky!uunet!mcsun!sunic!chalmers.se!news.chalmers.se!dtek.chalmers.se!d1pihlan
  2. From: d1pihlan@dtek.chalmers.se (Fredrik Pihlstr|m)
  3. Newsgroups: comp.sys.mac.hypercard
  4. Subject: Re: Creating Two Indices
  5. Message-ID: <By6q9F.H5o@news.chalmers.se>
  6. Date: 23 Nov 92 20:00:51 GMT
  7. References: <1992Nov23.153753.2226@tjhsst.vak12ed.edu>
  8. Sender: news@news.chalmers.se
  9. Organization: Chalmers University of Technology, Sweden
  10. Lines: 67
  11. In-Reply-To: bbooz@tjhsst.vak12ed.edu's message of 23 Nov 92 15:37:53 GMT
  12. Nntp-Posting-Host: hacke8.dtek.chalmers.se
  13.  
  14.  
  15. bbooz@tjhsst.vak12ed.edu (William Booz (Bill)) said:
  16.  
  17. [stuff about storing card id's alongside subjects in an index field]
  18.  
  19. >I don't like having that number visible to the user, however.
  20.  
  21. The solution I used to a similar problem was putting the card ID's
  22. into a hidden field, in the "same" line as the subject. Then I used
  23. the clickLine to get the right ID...
  24.  
  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. What about this:
  34. 1 Sorting the index field by author (using some XCMD like Rinaldi's
  35.    FullSort instead of the HyperCard 'slowsort').
  36. 2 Step through the list and,
  37.      if the name of this author is the same as the previous then
  38.          delete the name of the author on this line
  39.      else
  40.          put the author name before this line
  41.          and, of course, insert an empty line in the hidden ID field
  42.  
  43. That would give an index looking something like this:
  44.   Douglas Adams: 
  45.   The Hitchhikers Guide To Galaxy
  46.   So Long, And Thanks For The Fish
  47.   J R R Tolkien:
  48.   Lord Of The Rings
  49.   ...... etc
  50.  
  51. Instead of an empty line in the ID field, you can insert the ID of a
  52. card with some general information about the author. You can also set
  53. the style of the lines containing author names to something different
  54. than the book title's, thus making it easy to spot the authors.
  55.  
  56. If you separate the author name and the book title with a comma ','
  57. life get's easier when separating author and book: just choose item 1
  58. and 2. Well, if the author's name is represented in the form "Adams,
  59. Douglas"? Oops, what about make it into "Adams. Douglas" or selecting
  60. the two first items for author and put in a new comma when setting up
  61. the author line...
  62.  
  63. Any comments from the more experienced HyperCarder's greatly
  64. appreciated! Flamewars! Flamewars! Flamewars! 8-)
  65.  
  66. Anyway, hope I could give you some inspiration Bill.
  67.  
  68. >-- 
  69. >            _______________    __o        Bill Booz, Fairfax, VA
  70. >        _________________     -\<,       bbooz@tjhsst.vak12ed.edu
  71. >                        ......O/ O            Biking Is Fun!!
  72.  
  73. -mvh
  74. Pihlan
  75. --
  76. ----------------------------------------------------------------------
  77. Fredrik Pihlstr|m                            d1pihlan@dtek.chalmers.se
  78. Tel:+46 (0)31 265 479  Snail: L. Skogsv. 25, S-433 70 Partille, Sweden
  79.    Computer Science & Engineering, Chalmers Un of Tech, Gothenburg
  80.