ACC2002: Removing Validation Text Causes a Record That Cannot Be Committed When the Constraint Is Violated (287488)
The information in this article applies to:
This article was previously published under Q287488 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you add and then remove constraint validation text, a new record does not return a SQL Server error message when the record violates the constraint. In addition, you are unable to move off a new record when it violates the constraint after you add and then remove the constraint validation text. To move to a different record, you must undo the record that is violating the constraint.
CAUSE
When you delete the validation text, the validation text becomes an empty string instead of actually being deleted.
RESOLUTION
To work around this behavior, use one of the following methods:
- Delete the current constraint, and then add a new constraint.
- Add the validation text back to the previously created constraint.
- Drop the extended property by using sp_dropextendedproperty.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | kbbug kbnofix KB287488 |
---|
|