PRB: "Record validation rule is violated" Error in a Form (137682)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q137682 SYMPTOMS
Moving off a record that has row-level validation and invalid entries
causes the form to produce this error message:
Record validation rule is violated
CAUSE
Issuing a SKIP or SKIP-1 while positioned on a record that has invalid
entries fires an implicit TABLEUPDATE() function call, which tries to write
your invalid data to the table.
RESOLUTION
Incorporate buffering in the form, and control the use of the TABLEUPDATE()
function and navigation buttons. For example, remove the asterisk from the
code in steps 7 and 12 in the "Steps to Reproduce Behavior" section of this
article to resolve the problem.
STATUS
This behavior is by design.
REFERENCES
For more information, please see the following article in the Microsoft
Knowledge Base:
129537 APPEND BLANK Fires Field-Level Validation
Modification Type: | Major | Last Reviewed: | 8/3/2000 |
---|
Keywords: | KB137682 |
---|
|