WD98: Word Can't Parse Your Query Options into Valid SQL StringLast reviewed: February 17, 1998Article ID: Q177029 |
The information in this article applies to:
SYMPTOMSWhen you query for certain records during a mail merge, you may receive the following error message:
Word could not parse your query options into a valid SQL String.This problem will occur in either of the following cases:
CAUSEThis error message will occur when either of the following conditions are met.
Case 1This problem will occur if you are connected to an external data source, such as one created in Microsoft Excel 98 Macintosh Edition, and you use quotation marks or an apostrophe in the Query Options box to create a Compare To entry containing a quotation mark or an apostrophe.
Case 2The data source that you are querying contains an apostrophe in its data.
WORKAROUND
Case 1Do not include quotation marks or an apostrophe when you set up your query options. To do this, follow these steps:
Case 2There is no known workaround for this Case.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen you perform the mail merge, the results may not show quotation marks from your data, depending on how you are connecting to the data source. If you are connecting through Dynamic Data Exchange (DDE), you will not receive quotation marks in the results of the merge. However, if you connect by converting the data source (for example, from a Microsoft Excel 97 for Windows or Microsoft Excel 98 Macintosh Edition worksheet), you will receive quotation marks in the results of the merge. To open a Microsoft Excel data source by DDE, follow these steps:
ARTICLE-ID: Q125414 TITLE : WD: Errors When Querying on Data with Straight Quote/Apostrophe |
Additional query words: errmsg odbc sql query filter sort
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |