ACC1x: Incorrect Action Query Message Box TextLast reviewed: May 14, 1997Article ID: Q94598 |
The information in this article applies to:
SYMPTOMSAn error message generated by an action query (that is, a delete, make-table, update, or append query) may contain the following incorrect message box text:
Errors were encountered: The contents of fields in <number> record(s) were deleted, <number> record(s) were lost due to key violations and <number> record(s) were locked and couldn't be modified. Proceed anyway? CAUSEThis problem is caused by the way Microsoft Access handles errors for action queries. Microsoft Access uses the same error message for every action query instead of using a separate error message for each type of action query.
STATUSMicrosoft has confirmed this to be a problem in Microsoft Access versions 1.0 and 1.1. This problem no longer occurs in Microsoft Access version 2.0.
MORE INFORMATIONThe portion of the above error message that reports key violations:
<number> record(s) were lost due to key violationsbecomes active whenever referential integrity is violated during a query. However, this specific information only applies to Append and Make Table queries. If an update or delete query violates referential integrity, this portion of the error message erroneously gives the impression that records have been lost, when in fact they simply were not updated or deleted.
Steps to Reproduce Problem
Errors were encountered: The contents of fields in 0 record(s) were deleted, 2 record(s) were lost due to key violations and 0 record(s) were locked and couldn't be modified. Proceed anyway?This message correctly identifies that there were key violations (because of referential integrity), but it incorrectly indicates the loss of two records. In actuality, the records were not modified and therefore not lost. |
Keywords : kberrmsg kbusage QryMktbl
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |