I have already done this, but when I insert a new record and leave the field blank it is ok but when I insert text into the field and then delete the text that is when I get the error messsage