ACC1x: Incorrect Action Query Message Box TextID: Q94598
|
An 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?
This 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.
Microsoft 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.
The portion of the above error message that reports key violations:
<number> record(s) were lost due to key violations
Table: Table1
---------------------------
FieldName: ID [PrimaryKey]
DataType: Text
FieldName: Name
DataType: Text
Table: Table2
-----------------
FieldName: ID
DataType: Text
FieldName: Hobby
DataType: Text
Query: Query1
-------------
Field: ID
Field: Name
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?
Keywords : kberrmsg kbusage QryMktbl
Version : 1.0 1.1
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 13, 1999