In the design of your form, call the form's properties and click on the events tab. You should see the Before Update event, click on the build button (3 dots on it) and select code builder. This will take you to the VBA screen. You can then use code to test for entries. Something like below...