C
chris
Add Code after the delete action
mycombobox.requery
Delete Command button set up. My problem is if I delete
the record it then shows in the combo box as #DELETED. If
I click on it I get a run time error (data type mismatch
because it says deleted). How can I make my VBA code
either not try to look up the deleted record or make the
combo box not show the deleted record so it cannot be
selected.
mycombobox.requery
up records and then display on my form. I also have a-----Original Message-----
I have a combo list box set up in my header that I look
Delete Command button set up. My problem is if I delete
the record it then shows in the combo box as #DELETED. If
I click on it I get a run time error (data type mismatch
because it says deleted). How can I make my VBA code
either not try to look up the deleted record or make the
combo box not show the deleted record so it cannot be
selected.