Key violation override
From: Crystal (anonymous_at_discussions.microsoft.com)
Date: 02/12/04
- Next message: Howard Brody: "RE: complex form design question"
- Previous message: 123: "Numeric to text in query Grid"
- Next in thread: Naresh Nichani MVP: "Re: Key violation override"
- Reply: Naresh Nichani MVP: "Re: Key violation override"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Feb 2004 12:25:37 -0800
I'm updating a table via a form. I have code that checks
to make sure that the value entered in the primary key
field is not present in the table. This is on the
BeforeUpdate procedure. I wanted to catch the error
before the user go to the end of the record, since there
are many fields and entry is time-consuming.
The code works, but after it's executed, I get the
standard "The value in the field or record violates the
validation rule for the record or field."
I don't need this because I already have a custom
message. Is there a way to supress this message?
Crystal
- Next message: Howard Brody: "RE: complex form design question"
- Previous message: 123: "Numeric to text in query Grid"
- Next in thread: Naresh Nichani MVP: "Re: Key violation override"
- Reply: Naresh Nichani MVP: "Re: Key violation override"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|