L
leahf via AccessMonster.com
In an existing form that shows teacher details, there is a field for the
teacher id number (similar to a social security number). This field is shown
in a text box but until now has never been checked for validity.
From now on, if anyone wants to update this id number, a script will check
the number. If it is not valid, there should be an error message displayed
and, if the user wants to correct the field, the form should remain open with
the cursor pointing to the field.
In the BeforeUpdate of the form, I can use a message reponse box. If the
user wants to update the field, how do I make sure that the cursor remains in
the text box and the user cannot exit the form?
Thanks.
Leah
teacher id number (similar to a social security number). This field is shown
in a text box but until now has never been checked for validity.
From now on, if anyone wants to update this id number, a script will check
the number. If it is not valid, there should be an error message displayed
and, if the user wants to correct the field, the form should remain open with
the cursor pointing to the field.
In the BeforeUpdate of the form, I can use a message reponse box. If the
user wants to update the field, how do I make sure that the cursor remains in
the text box and the user cannot exit the form?
Thanks.
Leah