form field

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

Guest

Hi, I made a form, now how can I set a form like user have to fill field, or
the form will not go forward.

Thank you
 
You can use the before update event of the form to check if the fields are
filled, if not prompt a message and stop from going forward

Something like

If IsNull(Me.[TextBox1Name]) Or IsNull(Me.[TextBox2Name]) Then
MsgBox "Fields must be filled"
Cancel = True ' Wont let the user to continue until the fields are filled
End If
 

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