Actually, when we allow the user to manually type the category, we just fill the combo box by using SELECT DISTINCT category FROM MyTable ORDER BY category
which just retrieves all of the values. When all of the records using the category are removed or moved to another category, it just no longer appears in the list because it's no longer in the table and therefore doesn't get picked up by the query.