J
Joer
I have a control that the user enters a number. I am trying to insure that
the number entered is at least 5. I tried to create a macro with conditions
that runs a messagebox and then the gotocontrol actions. The messagebox works
but not the gotocontrol. I then wrote an event procedure, which also has the
messagebox and then a setfocus command. Again the messagebox works, but not
the setfocus command. I've tried both the After Update and Lost focus events
with the same results. This is Access 2007. I know I can put a validation
rule and message on the table, but I want to leave a back door to enter lower
numbers.
the number entered is at least 5. I tried to create a macro with conditions
that runs a messagebox and then the gotocontrol actions. The messagebox works
but not the gotocontrol. I then wrote an event procedure, which also has the
messagebox and then a setfocus command. Again the messagebox works, but not
the setfocus command. I've tried both the After Update and Lost focus events
with the same results. This is Access 2007. I know I can put a validation
rule and message on the table, but I want to leave a back door to enter lower
numbers.