home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / WP / DINFO6.ZIP / 1009 < prev    next >
Text File  |  1993-09-30  |  3KB  |  80 lines

  1.                           WordPerfect Corporation
  2.                      InfoShare Information Fax Service
  3.                               (800) 228-9960
  4.  
  5. Title:    Sort - Line Sort Does Not Alphabetize Correctly 
  6. Product:  WordPerfect 5.1 for DOS
  7. Number:   1009-5/93
  8.  
  9.  
  10. Problem
  11. When sorting by line, the Sort feature does not alphabetize as
  12. you expect.  If lines contain an inconsistent number of Tab codes
  13. and fields, the sorting will not be consistent.
  14.  
  15. Concept
  16. In Line Sort, each line of text can be divided into fields.  A
  17. Tab or Indent marks a field boundary.  Each field can be divided
  18. into words, which are separated by spaces.  To sort by fields in
  19. a line, you must have the same number of Tabs or Indents on each
  20. line.
  21.  
  22. For example, if you have created lines of text with two columns
  23. of information (name and phone number), you may have more than
  24. one Tab code between columns.  The lines might appear in Reveal
  25. Codes as in the following example:
  26.  
  27. John Doe[Tab][Tab][Tab]555-1234[HRt]
  28. Dolly Madison[Tab][Tab]555-3456[HRt]
  29. George Washington[Tab]555-5678[HRt]
  30.  
  31. In this example, there are four fields in the first line but only
  32. two fields in the third line.  In the first line, field 1
  33. contains the name, fields 2 and 3 are empty because there is no
  34. text between the Tabs, and field 4 contains the phone number.  To
  35. sort the lines correctly, you must have only one Tab between the
  36. name and the phone number, as in the following example.
  37.  
  38. John Doe[Tab]555-1234[HRt]
  39. Dolly Madison[Tab]555-3456[HRt]
  40. George Washington[Tab]555-5678[HRt]
  41.  
  42. You should set tab stops for the document so that you only need
  43. one Tab or Indent between columns.  An example of how to do this
  44. is given below.  An example of sorting by lines is also given
  45. below.
  46.  
  47. Solution
  48. Set the tab stops for your document before typing the list to be
  49. sorted.
  50.      1    Press Shift-F8, 1, then 8.
  51.      2    Press Ctrl-End.
  52.      3    Type a position number for the tab (such as 3i), then
  53.           press Enter.
  54.      4    Press F7, then F7 to return to the document.
  55. Define a Line Sort to sort by Field 2 (phone number).
  56.      1    Press Ctrl-F9, 2, then press Enter twice.
  57.      2    Type 3 (Keys), n (Numeric), then 2 (field 2).
  58.      3    Press F7, then type 1 (Perform).
  59.  
  60. See Also
  61.           WP5.1 Reference Sort
  62.           WP5.1 Reference Tab Set
  63.  
  64.  
  65.  
  66.  
  67. For more information, please call Information Services at
  68. (800)451-5151 (US) or (800)321-2318 (Canada).
  69.  
  70. WordPerfect Corporation 
  71. 1555 N. Technology Way 
  72. Orem,UT 84057-2399  Telephone: (800) 451-5151  Fax: (801)
  73. 222-5077
  74.  
  75. WordPerfect Corporation 1993
  76.  
  77. Revised:  5/93
  78.  
  79. WordPerfect is a registered trademark of WordPerfect Corporation
  80. within the United States and other countries.