I have two combobox, first one is StateComboBox, and the second one is CityCombobox. There is two thing I want to do for these combobox, but I am really lost. PLEASE HELP!
First I have this StateColumn with California, Texas, Florida, California, California, Texas, Arizona.....
When I binding it to the Statecombobox it show all. I need help with delete any duplicate array when showing in the combo box. It only should be showing California, Texas, Florida, Arizona.....
Second. when I click StateCombobox, the city will automatically show up. Like if I select California, only city under California will show up in the CityComboBox like Sacramento...San Diego... and more. When i select Florida, same thing only city under Florida should show up, (Sarasota...Miami...Orlando...ect...). But I don't know how to do it.
can I run a search first (using fillby) and make the citycombobox read and add items into the box from the citycolumn?
Is there a way to do it?
First I have this StateColumn with California, Texas, Florida, California, California, Texas, Arizona.....
When I binding it to the Statecombobox it show all. I need help with delete any duplicate array when showing in the combo box. It only should be showing California, Texas, Florida, Arizona.....
Second. when I click StateCombobox, the city will automatically show up. Like if I select California, only city under California will show up in the CityComboBox like Sacramento...San Diego... and more. When i select Florida, same thing only city under Florida should show up, (Sarasota...Miami...Orlando...ect...). But I don't know how to do it.
can I run a search first (using fillby) and make the citycombobox read and add items into the box from the citycolumn?
Is there a way to do it?
Last edited: