Event 1 Office Connector Web HelpOnline Help

Edit QueryTable SQL Command

Contents Index


  Data / Office Connector / Query / Edit QueryTable SQL...

Excel uses QueryTable objects to display database values in a rectangular layout.  QueryTable objects use Structured Query Language, or SQL to determine which data to display.  SQL allows for much more power and flexibility than the Excel user interface provides.

The Edit QueryTable SQL command allows you to directly edit the SQL text that defines your Excel queries.  This command is not limited to Office Connector queries, which means that you can use this command to edit any Excel query.

You may specify which query to edit in one of two ways.  Either select the query before clicking the toolbar button, or Office Connector will prompt you with a list of all the queries in the workbook.  

Office Connector displays the SQL in the Edit SQL Text window.  If you save your changes, Office Connector automatically refreshes the query.

Remarks

QueryTables always display the fields in columns and the individual records in rows.  Although there is a Transpose function in Excel, it is not recommended for QueryTables because they do not retain the rotated orientation when refreshed.

See Also



Content updated 3/6/2007

Copyright © 2007 Event 1 Software, Inc.  This documentation may not be copied in full or in part without written permission from Event 1 Software, Inc.