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.
What technique did you guys use to populate the category combobox with unique category values and drop the cateogry when it was no longer in use. Did you create another table to maintain these values?
Thanks
TIm