The information in this article applies to:
SYMPTOMSWhen you attempt to work with a mail merge data source, you may receive the following error message: This problem will occur if any of the following is true: Case 1: You filter records using Query Options from the Insert Database or Mail Merge dialog box and you query a field in which at least one data record contains a number not immediately preceded by a letter. For example: "TV50" will work, "TV-50" will not. Case 2: The query on the field described in case 1 contains at least one letter, at any position. Case 3: The query contains text, but the SQL field is formatted as a Boolean field. Case 4: Your data source is a Word document named Where.doc. CAUSEThis problem may occur in any of the following cases. Case 1: Invalid Character in Compare To FieldThe value used for the Compare To field in the Filter Records query contains an invalid character (symbol), such as an apostrophe.Case 2: Complex Query Contains Combination of Numbers and LettersAll of the following conditions are true:
For example, if you use a data source with the following values
you will receive unexpected results:
Case 3: Inappropriate Criteria for the FieldThe query contains inappropriate characters for field queried. For example, querying a Boolean field for "yes" (the appropriate query would be -1).Case 4: Document Contains the Word "Where"If your data source document contains the word "Where", you will receive the error message.WORKAROUNDCases 1-3To work around this problem, use only valid characters in the Word document data source, and create the data source so that all fields in the first record begin with a valid character rather than a number.Case 4Rename your data source document to remove the word "Where".STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONThe following tables show the valid and invalid characters for query tables.
Additional query words: database msquery
Keywords : kbualink97 kbmerge |
Last Reviewed: October 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |