Is there a way to place greater than and less than parameters within vba access? I have tried so many ways for hours today trying to meet my objective.
Objective1: When the user clicks vbno on a message box display.. I want the user to have a constraint in the text box between 0 and 100, and the value cannot be 0 nor 100, simply between.
Background: This same text box has different constraints, where when yes is clicked. The value is 100. The textbox also has a must be 0 constraint when nothing is typed.
Objective2: I would like, when the user clicks the next record button, to have an error message when the user's entry is not between 0 and 100 once vbno is clicked.
Can anyone help?
I was attempting to use the option of calling a subroutine, however, access would not give the user enough time to enter data before an error message is displayed.
I am stumped.
I even tried to see if I could call the vbno function during the click event for new record. I do not know how to do that.