I have 2 Combos, the 2nd is loaded based on the selection of the first. Because of that the 2nd combo is sometimes empty and sometimes isnt. When it is not empty and has items in it, I want to get rid of the first blank item. So I set Combo.ListIndex = 0 and this works fine. But when based on the selection of the 1st combo the 2nd is empty, Combo.ListIndex = 0 gives an error since its at -1.
What Can I do to get rid of the first blank line when there are actually items in combo and do nothing when there arent.
hope this makes sense thanks for the help.
What Can I do to get rid of the first blank line when there are actually items in combo and do nothing when there arent.
hope this makes sense thanks for the help.