Good day everyone,
I have never written codes in access. However, I am familiar with Visual Basic. I created this form in access for a database. I am trying to place validation on the form controls(elements).
Example: Lets say I need a error message to display when a textbox is focused and left empty. I need to make First Name mandatory so if the user click in the text box for first name and leaves it blank and error message is display when they try to leave.
I already have the name field required on the database but can I do this on forms? I tried writing some Visual Basic coded by opening the form and going to design view, then selecting an event but the codes I wrote does not work.
How can I make this work?
Thanks everyone!
AC