Hi all!
I have 2 PopUpMenus.
The first one called “State” Has all States of the country, for Example: Alabama,Alaska,Arizona,Arkansas,California,Colorado,Connecticut,Texas, etc.
And the second one called “County”.
And when I Select x State on PopupState, prints all the counties on popupCounty.
Example If I Choose “Alaska”, must print on popupCounty:
Anchorage,Fairbanks,Juneau,Badger,Knik-Fairview,College,Sitka, etc etc.
I’m Using a Select Case in order to evaluate popEstado.text on “Change Event”
And AddRow for each County on popUpCounty
I suppose to use a Case Else to DeleteAllRows existent and add the pertinent rows for the state on question.
I tried to use a “for” like this:
For i As Integer = 1 to popCounty.ListCount
popCounty.RemoveRow(i)
Next
But It doesn’t Work.
What Am I doing wrong? Any Suggestions?