You could put a value in the Default property (e.g., Date()).
You could add a validation rule to the underlying table's field (Is Not
Null).
You could set the Allow Nulls property of the underlying field to No.
You could add a validation check into the form's BeforeUpdate event
(If Nz(Me!txtYourDate,"") = "" Then
Cancel = True
Msgbox "You must enter a date"
Me!txtYourDate.SetFocus
...)
--
Regards
Jeff Boyce
www.InformationFutures.net
Microsoft Office/Access MVP
Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
Blade370 said:
Is there a way to stop null entries being entered into a form on a date
field?