home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _7F45705440EC4E268A24FF1EB5A37C1E < prev    next >
Text File  |  2003-03-07  |  6KB  |  232 lines

  1. {QGOTO}
  2.  
  3. Description
  4.  
  5. {QGOTO} displays and selects the specified cells. This command is equivalent to the Go To key, F5. A parameter, ~CellName, must be used after {QGOTO} to set the specified cell in the Go To dialog box. You can also use the command equivalent {EditGoto Block}.
  6.  
  7. A related command, {GOTO}, moves to the upper-left cell of the destination cells, but does not select the cells.
  8.  
  9. Example
  10.  
  11. {QGOTO}~D12 will select cell D12.
  12.  
  13. {QUERY}
  14.  
  15. Description
  16.  
  17. {QUERY} repeats the last Notebook Query operation performed.
  18.  
  19. {Query}
  20.  
  21. Syntax
  22.  
  23. {Query.Option}
  24.  
  25. PerfectScript Syntax
  26.  
  27. Query_Assign_Names ()
  28.  
  29. Query_Criteria_Table (Block:String)
  30.  
  31. Query_Database_Block (Block:String)
  32.  
  33. Query_Delete ()
  34.  
  35. Query_EndLocate ()
  36.  
  37. Query_Extract ()
  38.  
  39. Query_Locate ()
  40.  
  41. Query_Output_Block (Block:String)
  42.  
  43. Query_Reset ()
  44.  
  45. Query_Unique ()
  46.  
  47. Description
  48.  
  49. {Query} lets you set up a Quattro Pro database and search for records in that database. {Query.Locate} enters FIND mode and stays under macro control until {PAUSEMACRO} is used or {Query.EndLocate}, which exits FIND mode.
  50.  
  51. You can use {Query?} or {Query!} to display the Notebook Data Query dialog box. {Query?} lets you manipulate the dialog box, whereas {Query!} relies on the macro to manipulate it.
  52.  
  53. Example
  54.  
  55. The following macro sets up database cells and criteria table (A2..G37 and H1..H2), searches for records using the criteria table, sets up output cells at J2..P2, and copies any records found there.
  56.  
  57. {Query.Database_Block A2..G37}
  58.  
  59. {Query.Criteria_Table H1..H2}
  60.  
  61. {Query.Locate}
  62.  
  63. {Query.EndLocate}
  64.  
  65. {Query.Output_Block J2..P2}
  66.  
  67. {Query.Extract}
  68.  
  69. Options
  70.  
  71. {Query.Assign_Names}    Assigns cell names to fields so you can use them in search queries
  72.  
  73. {Query.Criteria_Table Block}    Specifies cells containing search conditions, including field names
  74.  
  75. {Query.Database_Block Block}    Specifies the data, including field names, to search
  76.  
  77. {Query.Delete}    Deletes all records that meet the search criteria
  78.  
  79. {Query.Extract}    Copies all records that meet the search criteria to the output cells
  80.  
  81. {Query.Locate}    Highlights all records that meet the search criteria
  82.  
  83. {Query.Output_Block Block}    Specifies the cells where you want to copy records and field names that meet the search criteria
  84.  
  85. {Query.Reset}    Removes all selection settings
  86.  
  87. {Query.Unique}    Copies records like Extract, but skips duplicate records
  88.  
  89. {QuickCorrect}
  90.  
  91. Syntax
  92.  
  93. {QuickCorrect 1|0}
  94.  
  95. PerfectScript Syntax
  96.  
  97. QuickCorrect (Enable?:Enumeration {1!; 0!})
  98.  
  99. Description
  100.  
  101. {QuickCorrect} replaces common spelling errors and mistyped words; it can also be used to automatically expand abbreviations. {QuickCorrect 1} activates the QuickCorrect feature; {QuickCorrect 0} turns it off.
  102.  
  103. {QuickFilter.Go}
  104.  
  105. Syntax
  106.  
  107. {QuickFilter.Go CellReference; <OpCode1; Arg1; Conditional1; OpCode2; Arg2; Conditional2; OpCode3; Arg3>}
  108.  
  109. PerfectScript Syntax
  110.  
  111. QuickFilter_Go ([Block?:String]; [OpCode1?:String]; [Value1?:String]; [Conditional1?:String]; [OpCode2?:String]; [Value2?:String]; [Conditional2?:String]; [OpCode3?:String]; [Value3?:String])
  112.  
  113. Description
  114.  
  115. Performs QuickFilter operations on cells. You can have 2, 5, or 7 optional args.
  116.  
  117. Example:
  118.  
  119. {QuickFilter.Go A:A1}
  120.  
  121. Equivalent to "Show All." Flushes ALL filters associated with Column A
  122.  
  123. {QuickFilter.Go A:B5;equal to""}
  124.  
  125. Equivalent to "Blanks." Filters all rows out except for those with blanks in Column B.
  126.  
  127. {QuickFilter.Go A:F24;not equal to""}
  128.  
  129. Equivalent to "Non Blanks." Filters out all rows except for those without blanks in Column F.
  130.  
  131. Parameters
  132.  
  133. OpCode#    "Equal to," or "not equal to," "greater than," "less than," "greater than or equal to," "less than or equal to," "begins with," "does not begin with," "ends with," "does not end with," "contains," "does not contain."
  134.  
  135. Arg#    Can be numeric, or a string. Wildcards are not valid.
  136.  
  137. Conditional#    AND or OR
  138.  
  139. {QuickFilter.Toggle}
  140.  
  141. Syntax
  142.  
  143. {QuickFilter.Toggle <Block>}
  144.  
  145. PerfectScript Syntax
  146.  
  147. QuickFilter_Toggle ([Block?:String])
  148.  
  149. Description
  150.  
  151. Turns on/off QuickFilters for the current cells.
  152.  
  153. {QuickFilter.TopGo}
  154.  
  155. Syntax
  156.  
  157. {QuickFilter.TopGo CellReference; <OpCode; Arg>}
  158.  
  159. PerfectScript Syntax
  160.  
  161. QuickFilter_TopGo ([Block?:String]; [OpCode1?:String]; [Value1?:Numeric])
  162.  
  163. Description
  164.  
  165. Performs QuickFilter operations on cells.
  166.  
  167. Example:
  168.  
  169. {QuickFilter.TopGo A:C51;top value;10}
  170.  
  171. Equivalent to Top Ten Values. Filters out all rows except for those that contain the top 10 values in column C.
  172.  
  173. {QuickFilter.TopGo A:E17;bottom percent;23}
  174.  
  175. Equivalent to Bottom 23 Percent. Filters out all rows except for those that contain the bottom 23% in column E.
  176.  
  177. Parameters
  178.  
  179. OpCode    "Top value," "top percent," "bottom value," "bottom percent"
  180.  
  181. Arg    Must be numeric. Wildcards are not valid.
  182.  
  183. {QuickFunction}
  184.  
  185. Syntax
  186.  
  187. {QuickFunction Name; <Block>}
  188.  
  189. PerfectScript Syntax
  190.  
  191. QuickFucntion(Name?: String!, Block?: <Block>)
  192.  
  193. Description
  194.  
  195. {QuickFunction} is equivalent to selecting cells and clicking the QuickFunction button on the toolbar. Block includes rows and/or columns to sum plus adjacent empty cells to hold the results. The default Block is the current selection.
  196.  
  197. Parameters
  198.  
  199. Name    SUM, MIN, MAX, AVG, PUREAVG, MULT, PMT, RATE, IRATE, TERM, PV, FV
  200.  
  201. Block    A database block including field labels and records
  202.  
  203.  
  204.  
  205. {QUIT}
  206.  
  207. Description
  208.  
  209. {QUIT} ends all macro execution, and returns control of Quattro Pro to you.
  210.  
  211. Use {QUIT} in conjunction with {IF}, {LOOK}, {MENUBRANCH}, or {MENUCALL} to end a macro under user control.
  212.  
  213. Example
  214.  
  215. The following macro displays a menu that has a "Quit" option, which returns you to Ready mode.
  216.  
  217. quit_menu    Continue    Quit
  218.  
  219.         Keep going    Quit to Ready mode
  220.  
  221.         {BRANCH \G}    {QUIT}
  222.  
  223.  
  224.  
  225. \G    {MENUBRANCH quit_menu}
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.