home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!chalmers.se!news.chalmers.se!dtek.chalmers.se!d1pihlan
- From: d1pihlan@dtek.chalmers.se (Fredrik Pihlstr|m)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: Creating Two Indices
- Message-ID: <By6q9F.H5o@news.chalmers.se>
- Date: 23 Nov 92 20:00:51 GMT
- References: <1992Nov23.153753.2226@tjhsst.vak12ed.edu>
- Sender: news@news.chalmers.se
- Organization: Chalmers University of Technology, Sweden
- Lines: 67
- In-Reply-To: bbooz@tjhsst.vak12ed.edu's message of 23 Nov 92 15:37:53 GMT
- Nntp-Posting-Host: hacke8.dtek.chalmers.se
-
-
- bbooz@tjhsst.vak12ed.edu (William Booz (Bill)) said:
-
- [stuff about storing card id's alongside subjects in an index field]
-
- >I don't like having that number visible to the user, however.
-
- The solution I used to a similar problem was putting the card ID's
- into a hidden field, in the "same" line as the subject. Then I used
- the clickLine to get the right ID...
-
- >In addition, I have thought that it would be ni not to repeat
- >an author's name when there are several books by one author,
- >but rather to have the index field recognize that there is more
- >than one card with a book by the selected author and display
- >(perhaps an otherwise hidden field...???) the list availab. A
- >click on this field would take the user to the desired card.
- >Any thoughts and/or suggestions?
-
- What about this:
- 1 Sorting the index field by author (using some XCMD like Rinaldi's
- FullSort instead of the HyperCard 'slowsort').
- 2 Step through the list and,
- if the name of this author is the same as the previous then
- delete the name of the author on this line
- else
- put the author name before this line
- and, of course, insert an empty line in the hidden ID field
-
- That would give an index looking something like this:
- Douglas Adams:
- The Hitchhikers Guide To Galaxy
- So Long, And Thanks For The Fish
- J R R Tolkien:
- Lord Of The Rings
- ...... etc
-
- Instead of an empty line in the ID field, you can insert the ID of a
- card with some general information about the author. You can also set
- the style of the lines containing author names to something different
- than the book title's, thus making it easy to spot the authors.
-
- If you separate the author name and the book title with a comma ','
- life get's easier when separating author and book: just choose item 1
- and 2. Well, if the author's name is represented in the form "Adams,
- Douglas"? Oops, what about make it into "Adams. Douglas" or selecting
- the two first items for author and put in a new comma when setting up
- the author line...
-
- Any comments from the more experienced HyperCarder's greatly
- appreciated! Flamewars! Flamewars! Flamewars! 8-)
-
- Anyway, hope I could give you some inspiration Bill.
-
- >
- >--
- > _______________ __o Bill Booz, Fairfax, VA
- > _________________ -\<, bbooz@tjhsst.vak12ed.edu
- > ......O/ O Biking Is Fun!!
-
- -mvh
- Pihlan
- --
- ----------------------------------------------------------------------
- Fredrik Pihlstr|m d1pihlan@dtek.chalmers.se
- Tel:+46 (0)31 265 479 Snail: L. Skogsv. 25, S-433 70 Partille, Sweden
- Computer Science & Engineering, Chalmers Un of Tech, Gothenburg
-