Q+E: Excel Err Msg: SQL Statement Is Not Valid or DDE ErrorLast reviewed: September 12, 1996Article ID: Q95828 |
The information in this article applies to:
SUMMARYWhen you try to execute an SQL query statement to extract data from an external database using the QE.XLA add-in macro in Microsoft Excel, the error message "SQL Statement Is Not Valid or DDE Error" may be generated if the external data type differs from the default data type set in Q+E.
MORE INFORMATIONWith the QE.XLA add-in macro loaded, SQL query statements can be used to extract data from external databases into a Microsoft Excel worksheet. Activating the Query Editor by choosing the SQL Query command on the Data menu allows SQL queries to be entered, executed, and saved as query files (.QEF) in Microsoft Excel. The error "SQL Statement Is Not Valid or DDE Error" may occur if the SQL query or saved query file (.QEF) attempts to extract data from an external database that is of a different type than the default data type set in Q+E.
Workarounds
REFERENCES"Q+E for Microsoft Excel User's Guide," version 3.0a, included with Microsoft Excel version 3.0, pages 35-36, 66-67 "Q+E for Microsoft Excel User's Guide," version 3.0a, included with Microsoft Excel version 4.0, pages 35-36, 66-67
|
KBCategory: kberrmsg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |