Is this a bound form and is the textbox a bound control? If this is true then at the table level you can change the field to a required field by changing the Required property to Yes. If the user enters all the data on the form and then tries to save or go to a new record ACCESS will pop a message up to make the user fill in the field.
Is this what you were looking for or do you want this all taken care of on the form with code?
Chris'
Or, you can go to the design of the table and at the bottom of the screen are the options. Select your text field and then select "Required", "yes"
jim
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.