I have a table and a textbox referring to it that requires a default value of 0 (zero) if a value is not entered. The 0 is displayed on first opening my data entry form, but if I enter a value, then delete it leaving a NULL value, when I try to update the field I get a standard Access error dialogue advising “You must enter a value in the ‘[Textbox Field-Name]’ field”.
How can I trap this standard message and automatically insert a 0 in lieu of the null as the field is updated?
Looking forward to a simple solution, using either a validation rule or an event procedure.
Thanks in anticipation of any assistance
Baffled
BygAuldByrd