home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / hypercar / 3180 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.6 KB

  1. Xref: sparky comp.sys.mac.hypercard:3180 comp.sys.mac.programmer:14308
  2. Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer
  3. Path: sparky!uunet!munnari.oz.au!manuel!sserve!rodos1!wkt
  4. From: wkt@rodos1.cs.adfa.oz.au (Warren Toomey)
  5. Subject: Reports in HyperCard 2.1 -- Help wanted
  6. Message-ID: <1992Aug21.064822.12198@sserve.cc.adfa.oz.au>
  7. Sender: news@sserve.cc.adfa.oz.au
  8. Organization: Australian Defence Force Academy, Canberra, Australia
  9. Date: Fri, 21 Aug 1992 06:48:22 GMT
  10. Lines: 54
  11.  
  12.  
  13. I am including a HyperCard question from a friend here who does not have
  14. Internet access. He'd very much appreciate any help he can get. Replies
  15. to me via email (wkt@csadfa.cs.adfa.oz.au). I know nothing about HyperCard.
  16.  
  17.     Warren Toomey
  18. ----------
  19.  
  20. I have a slightly complicated problem with HyperCard 2.1 reports.
  21. It goes like this:
  22.  
  23. a.    A long list of text lines is stored in several fields
  24.     (ie. > 30000 chars - hence > 1 field).
  25.  
  26. b.    There are two separate entities associated with each of
  27.     these text lines.
  28.  
  29. c.    I want to put all of the text into a report field and keep
  30.     the related entities on corresponding lines of two other
  31.     fields (each line of the text may take more than one line
  32.     on the report field).
  33.  
  34. So far I have tried putting the text lines into a single variable but
  35. lose at least half of it (always at the same point) - is this a
  36. limit on the variable or a memory problem?
  37.  
  38. I have also tried putting each separate card field into a separate
  39. variable and concatenating them when I return from the user-defined
  40. function - but same problem arises.
  41.  
  42. To try to line up the entries on corresponding lines, I use a
  43. mono-spaced font like Courier and try to match the width of the
  44. field (by counting characters in full lines) - but not really successfully.
  45. Is there a way of finding out what the field width is, or of predicting
  46. (accurately) how many physical lines in the report field each of the
  47. text lines will take up?   I have tried to emulate the word-wrap routine
  48. but cannot get it quite right - futhermore it takes an absolute AGE...
  49. (ie. up 7.5 hours on a Classic for 435 text lines etc).
  50.  
  51. Is there anyone out there who knows of a PD, shareware or commercial
  52. product which will allow me to handle this type of report in a
  53. reasonably simple and efficient way.   I have heard of "Reports"
  54. (by Q&A Software?) but dont know anyone who has it or has used it.
  55. Since I do not fancy the idea of paying for a product which may not
  56. come close to what I want, I would appreciate any information
  57. or suggestions which you may be able to give me.
  58.  
  59.     Andy Haddock.
  60. ------
  61.  
  62.  
  63.   Warren Toomey VK1XWT, on the path to insanity
  64.   No longer in the bowels of ADFA Comp Science.
  65.    `Version 7 Job Control: just use ptrace(2).'
  66.