home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / WP / DINFO6.ZIP / 1184 < prev    next >
Text File  |  1993-10-28  |  6KB  |  170 lines

  1.                             WordPerfect Corporation
  2.                        InfoShare Information Fax Service
  3.                                 (800) 228-9960
  4.  
  5. Title:   Tables: Sorting Tables
  6. Product: WordPerfect 5.1 for DOS 
  7. Number:  1184-10/93 
  8.  
  9. WordPerfect 5.1 allows you to sort information in a table.  
  10.  
  11. What's in this document?
  12.  
  13.       ∙     Starting a Table Sort
  14.       ∙     Common Problems with Table Sort
  15.       ∙     Common Error Messages with Table Sort
  16.  
  17.  
  18. Starting a Table Sort
  19. There are two ways to sort a table.
  20.  
  21. Method 1
  22. 1     Place your cursor anywhere in the table. 
  23.  
  24. 2     Press Merge/Sort (Ctrl+F9), then choose Sort (2).
  25.  
  26. You are automatically placed in Table Sort, and you do not have
  27. to specify the input file or the output file.  At this point, you
  28. can perform your sort.
  29.  
  30. Method 2
  31. 1     Block the text in the table that you would like to sort.
  32.  
  33. 2     Press Merge/Sort (Ctrl+F9).
  34.  
  35. You are taken immediately into the Table Sort feature.  You do
  36. need to select Sort or specify the input and output files.  You
  37. can perform your sort at this point.
  38.  
  39.  
  40. Common Problems with Table Sort
  41. The most common problems you may encounter are listed here.
  42.  
  43. Sorting More Than One Column
  44. The table sort feature is not designed to sort more than one
  45. column in a table.  
  46.  
  47. For example:  You have a table with 5 columns.  You sort the
  48. first column and it sorts properly.  Then you sort the third
  49. column; it also sorts properly, but you notice that the first
  50. column is out of order.  Because the Table Sort feature can only
  51. sort one column in a table, the last column you choose to sort
  52. will take precedence over the previous one, and your data may be
  53. mixed up.
  54.  
  55. Sorting Dates Formatted with Forward Slashes (such as 01/01/94)
  56. When you sort dates that contain forward slashes, each number
  57. will be considered its own word: the month will be read as the
  58. first word, the day as the second word, and the year as the third
  59. word.  Your sort keys will need to be set according to the word
  60. or number you would like sorted first.
  61.  
  62. The following keys will allow you to sort by year, month, and
  63. day. This setup will work inside or outside of tables.  However,
  64. note that if you use these key sequences outside a table, the
  65. Cell key will not apply.
  66.  
  67.       Key   Typ   Cell  Line  Word
  68.       1     a     1     1     3
  69.  
  70.       Key   Typ   Cell  Line  Word
  71.       2     a     1     1     1
  72.  
  73.       Key   Typ   Cell  Line  Word
  74.       3     a     1     1     2
  75.  
  76. Sorting Table Cells - Must Be Aligned the Same
  77. When running a Table Sort, all cells to be sorted must be within
  78. the same column.  If one cell is aligned differently, the table
  79. won't sort correctly.
  80.  
  81. Sorting Text Entered in a Table Header
  82. If none of the text moves when you perform a sort on a table of
  83. text, then each row in the table was defined as a header row. 
  84. Text in table header rows cannot be sorted.  To sort this text,
  85. you can disable the header rows, sort the text, and define the
  86. header rows again.  
  87.  
  88. 1     Place the cursor inside the table.
  89.  
  90. 2     Press Columns/Table (Alt+F7), then choose Header (4). 
  91.  
  92. 3     Press Enter to specify 0 for the number of header rows.
  93.  
  94. 4     Press Exit (F7) to exit the Table Edit mode.
  95.  
  96. 5     Press Merge/Sort (Ctrl+F9), and choose Sort (2).
  97.  
  98. 6     When the sort is finished, place your cursor within the
  99.       table and press Columns/Table (Alt+F7).
  100.  
  101. 7     Choose Header (4), type the desired number of header rows,
  102.       and press Enter.
  103.  
  104. 8     Press Exit (F7) to return to the document editing screen.
  105.  
  106.  
  107. Common Error Messages with Table Sort
  108.  
  109. Error: Cannot Sort Table With Spanned Columns
  110. WordPerfect sorts a table by rows.  A cell that spans multiple
  111. rows is ambiguous to WordPerfect and will cause an error.  When a
  112. table contains cells that have only been joined across columns,
  113. it will sort correctly.  If the table contains cells joined
  114. across rows (vertically), it will not sort, and the error Can't
  115. Sort Table With Spanned Columns will appear.
  116.  
  117. You may need to split both the joined rows and the columns to
  118. avoid the error.  After the sort, you can join the cells again.
  119.  
  120. You will encounter this error message even if the blocked area
  121. doesn't contain any spanned columns but spanned columns do exist
  122. in the table, or if the spanned column is in the header row.
  123.  
  124. Error: Select Table Overflow
  125. This error may appear if too many operators exist in a select
  126. string.  You will need to reduce the number of operators in your
  127. select string to correct the error.
  128.  
  129. Error: Record Too Large to Sort
  130. Records to be sorted can't be any larger than 9216 bytes (roughly
  131. five to six pages of regular typed text, based on 1500 bytes per
  132. page).  If the records are larger than these limits, this error
  133. message appears.  
  134.  
  135. You may also receive this error when sorting a document in which
  136. parallel columns have been converted into a table.
  137.  
  138. To solve this error problem, 
  139.  
  140. 1     Check the available disk space and make sure you have 2½
  141.       times the amount of the file size free.
  142.  
  143. 2     Save the original file, then try deleting the table
  144.       definition code.  You may be able to sort the information
  145.       successfully in tabular columns, and then convert the
  146.       tabular columns to a table.
  147.  
  148. 3     Check to see if any of the cells contain more information
  149.       than can fit in one cell or row.  Since a row cannot span a
  150.       page, WordPerfect will hide information that exceeds the
  151.       page margins so that the text won't show in Reveal Codes. 
  152.       However, that information still exists.  
  153.  
  154. Error: Not a Prefixed File
  155. This message may appear when you are sorting a table.  If it does
  156. appear, save your document, retrieve it, then run the sort again.
  157.  
  158. This simple procedure will very often eliminate this error.
  159.  
  160.  
  161.  
  162.  
  163. WordPerfect Corporation 1993
  164.  
  165. WordPerfect Corporation 
  166. 1555 N. Technology Way 
  167. Orem, UT 84057-2399
  168.  
  169. WordPerfect is a registered trademark of WordPerfect Corporation
  170. within the United States and other countries.