S
SharonInGa
My form includes a text box with Company names in it and two command buttons:
1. Add new name 2. Save data and close. All possible errors are covered
except when the user presses "Add new name", begins typing in a name and
presses "Add new name" again. The Run Time Error #2105 appears. What code
can be used in addition to a message to prohibit a user from making the
mistake of pressing the "Add new name" two times?
cmdAdd cmdSave
1. Add new name 2. Save data and close. All possible errors are covered
except when the user presses "Add new name", begins typing in a name and
presses "Add new name" again. The Run Time Error #2105 appears. What code
can be used in addition to a message to prohibit a user from making the
mistake of pressing the "Add new name" two times?
cmdAdd cmdSave