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

  1. {TABLE}
  2.  
  3. Syntax
  4.  
  5. TABLE()
  6.  
  7. Description
  8.  
  9. {TABLE} repeats the last What-If operation.
  10.  
  11. {TableLink}
  12.  
  13. Syntax
  14.  
  15. {TableLink.Option}
  16.  
  17. PerfectScript Syntax
  18.  
  19. TableLink_Block (Block:String)
  20.  
  21. TableLink_Go ()
  22.  
  23. TableLink_Name (TableName:String)
  24.  
  25. Description
  26.  
  27. {TableLink} establishes a link to an external database table and displays the table in a Quattro Pro notebook.
  28.  
  29. You can use {TableLink?} or {TableLink!} to display the Table Link dialog box. {TableLink?} lets you manipulate the dialog box, whereas {TableLink!} relies on the macro to manipulate it.
  30.  
  31. Options
  32.  
  33. {TableLink.Block Block}    Specifies the cells where you want the linked table to appear.
  34.  
  35. {TableLink.Name TableName}    Sets the filename of the database table to which you want to establish a link.
  36.  
  37.  {TableLink.Go}    Links the table.
  38.  
  39. {TableQuery}
  40.  
  41. Syntax
  42.  
  43. {TableQuery.Option}
  44.  
  45. PerfectScript Syntax
  46.  
  47. TableQuery_Destination (Block:String)
  48.  
  49. TableQuery_FileQuery (Yes?:Enumeration {Yes!; No!})
  50.  
  51. TableQuery_Go ()
  52.  
  53. TableQuery_QueryBlock (Block:String)
  54.  
  55. TableQuery_QueryFile (Filename:String)
  56.  
  57. Description
  58.  
  59. {TableQuery} lets you search external databases for records. The query is not performed until {TableQuery.Go} is used.
  60.  
  61. You can use {TableQuery?} or {TableQuery!} to display the Table Query dialog box. {TableQuery?} lets you manipulate the dialog box, whereas {TableQuery!} relies on the macro to manipulate it.
  62.  
  63. Examples
  64.  
  65. The following macro searches the external table TASKLIST.DB using the query file TASKLIST.QBE. The results of the search are stored in A:A2.
  66.  
  67. {TableQuery.FileQuery Yes}
  68.  
  69. {TableQuery.QueryFile TASKLIST.QBE}
  70.  
  71. {TableQuery.Destination A:A2}
  72.  
  73. {TableQuery.Go}
  74.  
  75.  
  76.  
  77. The next macro searches the same database, but uses the query defined in the named cell task_query.
  78.  
  79. {TableQuery.FileQuery No}
  80.  
  81. {TableQuery.QueryBlock task_query}
  82.  
  83. {TableQuery.Destination A:A2}
  84.  
  85. {TableQuery.Go}
  86.  
  87. Options
  88.  
  89. {TableQuery.Destination Block}    Specifies the cells for the query's Answer Table (its results).
  90.  
  91. {TableQuery.FileQuery Yes|No}    Specifies an external query file as the source of the query text.
  92.  
  93. {TableQuery.Go}    Performs the table query.
  94.  
  95. {TableQuery.QueryBlock Block}    Specifies cells in the active notebook as the source of the query text.
  96.  
  97. {TableQuery.QueryFile Filename}    Specifies the filename or cell coordinates of the query text.
  98.  
  99. {TableView}
  100.  
  101. Syntax
  102.  
  103. TableView()
  104.  
  105. Description
  106.  
  107. {TableView} launches the Database Desktop.
  108.  
  109. {TemplateTB}
  110.  
  111. Syntax
  112.  
  113. {TemplateTB.Option}
  114.  
  115. PerfectScript Syntax
  116.  
  117. TemplateTB_Add (Name:String; Path:String)
  118.  
  119. TemplateTB_Context (Name:String; Settings:String)
  120.  
  121. TemplateTB_Docking_Position (Name:String; Position:Enumeration {Top!; Bottom!; Left!; Right!; Floating!}; [Context:Numeric])
  122.  
  123. TemplateTB_Hide (Name:String)
  124.  
  125. TemplateTB_Remove (Name:String)
  126.  
  127. TemplateTB_Rename (Name:String; NewName:String)
  128.  
  129. TemplateTB_Reset (Name:String)
  130.  
  131. TemplateTB_Show (Name:String)
  132.  
  133. Description
  134.  
  135. {TemplateTB} is similar to {Toolbar.Option} except that it controls the Template toolbar.
  136.  
  137. Options
  138.  
  139. {TemplateTB.Add Name, Path}    Adds a new Template toolbar.
  140.  
  141. {TemplateTB.Show Name}    Shows a Template toolbar.
  142.  
  143. {TemplateTB.Hide Name}    Hides a Template toolbar.
  144.  
  145. {TemplateTB.Remove Name}    Removes a Template toolbar.
  146.  
  147. {TemplateTB.Reset Name}    Resets a Template toolbar to its default setup.
  148.  
  149. {TemplateTB.Docking_Position Name, Top | Left | Right | Bottom | Floating}    Sets the docking position of a Template toolbar.
  150.  
  151. {TemplateTB.Rename Name, NewName}    Renames a Template toolbar.
  152.  
  153. {TemplateTB.Context Name, Desktop (Yes | No), Notebook (Yes | No), Chart (Yes | No), Dialog (Yes | No), Objects Page (Yes | No), Slide Show (Yes | No)}    Sets the contexts in Quattro Pro in which a Template toolbar appears.
  154.  
  155. {Toolbar}
  156.  
  157. Syntax
  158.  
  159. {Toolbar.Option}
  160.  
  161. PerfectScript Syntax
  162.  
  163. Toolbar_Add (Name:String; Path:String)
  164.  
  165. Toolbar_Context (Name:String; Settings:String)
  166.  
  167. Toolbar_Docking_Position (Name:String; Position:Enumeration {Top!; Bottom!; Left!; Right!; Floating!}; [Context:Numeric])
  168.  
  169. Toolbar_Hide (Name:String)
  170.  
  171. Toolbar_Remove (Name:String)
  172.  
  173. Toolbar_Rename (Name:String; NewName:String)
  174.  
  175. Toolbar_Reset (Name:String)
  176.  
  177. Toolbar_Show (Name:String)
  178.  
  179. Description
  180.  
  181. {Toolbar} displays and hides toolbars.
  182.  
  183. {Toolbar.Docking_Position Order} is a numeric number used to position the selected toolbar in relation to other visible toolbars at the specified docking position:
  184.  
  185. -1    Displays the specified toolbar at the end of toolbars at the specified docking position
  186.  
  187. 0    Displays the specified toolbar at the beginning of toolbars at the specified docking position
  188.  
  189. 1    Displays the specified toolbar 1 position in from the beginning of toolbars at the specified docking position
  190.  
  191. n    Displays the specified toolbar n positions in from the beginning of toolbars at the specified docking position.
  192.  
  193. To record such macros as adding, positioning, and removing toolbars, right-click anywhere on a visible toolbar while recording a macro.
  194.  
  195. Options
  196.  
  197. {Toolbar.Add Name, Path}    Lets you create a toolbar and add it to the toolbar list.
  198.  
  199. {Toolbar.Context Name, Desktop(1|0), Notebook(1|0), Chart(1|0), Dialog(1|0), Objects Page(1|0), Slide Show(1|0)}    Lists all toolbars.
  200.  
  201. {Toolbar.Docking_Position Name, Top | Left | Right | Bottom | Floating, Order}    Specifies where the toolbar will appear when on screen.
  202.  
  203. {Toolbar.Hide Name}    Hides the selected toolbar.
  204.  
  205. {Toolbar.Remove Name}    Removes a toolbar you created from the list.
  206.  
  207. {Toolbar.Rename Name, NewName}    Specifies the name of the toolbar.
  208.  
  209. {Toolbar.Reset Name}    Changes the selected standard Quattro Pro toolbar back to its default settings.
  210.  
  211. {Toolbar.Show Name}    Displays the selected toolbar.
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.