PRB: Cannot Reuse Deleted Primary Key Values in Visual FoxPro (139756)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q139756 SYMPTOMS
Appending, inserting, or editing a record in a table with a primary key may
result in this error:
Uniqueness of index <index name> is violated.
CAUSE
This error occurs when a duplicate primary key value is entered, and it
occurs even if the duplicate record is one that has been marked for
deletion. This error occurs regardless of the setting of DELETED.
RESOLUTION
To be able to reuse keys that exist in deleted records, you must use a
filtered index.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/24/1999 |
---|
Keywords: | KB139756 |
---|
|