G
Guest
I have a very simple form, based on a table ("Teachers") with one field
("Teacher_Name").
On the form is a combo box based on the same table and field (i.e. a
dropdown listing of all the teacher names), sorted in ascending order.
I also have a button on the form to delete a teacher name (record) with the
following on click event coding:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
It looks like I got that from the command button wizard.
Anyway, it appears that regardless of what name I have select in the combo
box, if I then hit the "delete" button it will delete the top teacher name on
the list, not the name appearing in the combo box on the form.
How can I pick a teacher name from a combo box, then hit a button to delete
that teacher name?
Thanks in advance.
Jerry
("Teacher_Name").
On the form is a combo box based on the same table and field (i.e. a
dropdown listing of all the teacher names), sorted in ascending order.
I also have a button on the form to delete a teacher name (record) with the
following on click event coding:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
It looks like I got that from the command button wizard.
Anyway, it appears that regardless of what name I have select in the combo
box, if I then hit the "delete" button it will delete the top teacher name on
the list, not the name appearing in the combo box on the form.
How can I pick a teacher name from a combo box, then hit a button to delete
that teacher name?
Thanks in advance.
Jerry