Required Field.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. I have a question about adding a required field or validation rule. I
have a access db already set up. on the form where you enter the info there
are drop down menus to select certain criteria instead of having to input
them. I want to have one the drop down menus be required to be filled out
before you can save or exit the form.

So, Basically if you don't select anything and try and exit or save it will
tell you that you need to fill this out action out first.

Thanks for any help.
 
Use the form's Before Insert event.
Test the control to see if it has value other than Null. If it is Null,
cancel the event and present the user a message box.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top