Changing "Index or Primary Key cannot contain a null value" message

Changing "Index or Primary Key cannot contain a null value" message

Post by TC » Tue, 04 Nov 2003 07:42:44


Check out the Form_Error event.

HTH,
TC




you
following
 
 
 

Changing "Index or Primary Key cannot contain a null value" message

Post by JBro » Tue, 04 Nov 2003 08:46:09

Hi everyone,

I have a form with several fields. One represents the primary key. If you
leave it blank and try to save the record, the forms displays the following
error message - "Index or Primary Key cannot contain a null value". I
understand why it is doing this, but I'm wondering if I can program a
friendlier message. Any help would be great.

Many Thanks!