Q+E Err Msg: "Error in SQL Statement"

Last reviewed: September 12, 1996
Article ID: Q95757
The information in this article applies to:
  • Q+E version 3.0 for Microsoft Excel for Windows
  • Q+E version 3.0 for Microsoft Excel for OS/2

SUMMARY

When you use the QE.XLA add-in macro to extract data from an external database in Microsoft Excel, you may receive the error message "Error in SQL Statement" if there is a mismatched data type in one of the criteria fields.

MORE INFORMATION

You can use the QE.XLA add-in macro to extract data from external databases and place it in a Microsoft Excel worksheet. However, if a criteria field contains a mismatched data type, such as a numeric value in a criteria field that requires the text data type, the error message "Error In SQL Statement" will be displayed when you choose Extract from the Data menu. When this error occurs, data will not be returned to the Microsoft Excel worksheet.

REFERENCES

"Q+E for Microsoft Excel User's Guide", versions 2.1 and 2.5, pages 58-62


KBCategory: kberrmsg
KBSubcategory:

Additional reference words: 3.00 4.00 errmsg



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.