Article ID: 285168 - Last Review: August 30, 2005 - Revision: 2.3

WD2000: Error Message with Mail Merge Using MS Query Data Source

This article was previously published under Q285168
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986  (http://support.microsoft.com/kb/256986/EN-US/ ) Description of the Microsoft Windows Registry
Expand all | Collapse all

SYMPTOMS

When you try to use a query that was created in MS Query as a data source for a Word mail merge document, you receive the following error message:
Cannot Group on Fields Selected with '*'

When you click Details in the error message dialog box, you receive the following information:
ODBC error: [Microsoft][ODBC Microsoft Access Driver]Cannot group on fields selected with ''*'
Sql State: S1000
Return Code: SQL_ERROR
					

CAUSE

This problem occurs when the SQL string query contains a GROUP_BY statement, or some other SQL statement, that is incompatible with SELECT *. Typically, this occurs when the query contains a calculation; for example, an average over a group of records.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
276367  (http://support.microsoft.com/kb/276367/EN-US/ ) OFF2000: How to Obtain the Latest Office 2000 Service Pack

IMPORTANT: Before you install Microsoft Office 2000 Service Pack 3 (SP-3), you must have Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a) installed first. To obtain Office 2000 Service Release 1/1a (SR-1/SR-1a), click the article number below to view the article in the Microsoft Knowledge Base:
245025  (http://support.microsoft.com/kb/245025/EN-US/ ) OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in the Microsoft Word 2000 Security Update: Macro Vulnerability.

APPLIES TO
  • Microsoft Word 2000 Standard Edition
Keywords: 
kboffice2000sp3fix kbbug kbfix KB285168
 

Article Translations