ACC: Append Query Causes Divide ErrorLast reviewed: November 24, 1997Article ID: Q177102 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you run an append query, you may receive one of the following error messages:
Microsoft Windows 95
This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.If you are using Microsoft Access 7.0, you receive the following message when you click Details:
MSACCESS caused a divide error in module MSJT3032.DLLIf you are using Microsoft Access 97, you receive the following message when you click Details:
MSACCESS caused a divide error in module MSJET35.DLL Microsoft Windows NT
An application error has occurred and an application error log is being generated. MSACCESS.exe Exception: divide by zero CAUSEThe append query contains a join to a field in another query whose UniqueValues property is set to Yes. For example, the append query may be based on a table that is joined to a select query whose UniqueValues property is set to Yes in order to limit the data that is appended.
WORKAROUNDWhen creating an append query, do not use a join to a query whose UniqueValues property is set to Yes. Set the UniqueValues property of the select query to No, and then set the UniqueValues property of the append query to Yes. Instead of using a select query, you may also want to consider using the source table of the select query, and then setting the UniqueValues property of the append query to Yes.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft Access versions 7.0 and 97. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Create the Tables
Create the Queries
REFERENCESFor more information about the UniqueValues property, search the Help Index for "UniqueValues property."
|
Additional query words: crash fail
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |