About how link two ComboBox
Posted: Fri Mar 20, 2009 6:18 pm
Translated by Google,
I can not think how to link two combobox, especially when you select an item, do as the filter for the condition in the next combobox, eg a combobox to display the states and another combobox to display cities.
If I select city "x" in the combobox state must show that the state belongs to the city, and vice versa, when you select state "x" in the cities combo should display all the cities that belong to the state.
I have a dbf file to cities and other dbf file to states.
Any idea to do it.
Thanks
Greetings
Javier
Spanish,
No se me ocurre como poder relacionar dos combobox, sobre todo al seleccionar un elemento, como hacer el filtro para que se cumpla la condición en el siguiente combobox, por ejemplo un combobox para desplegar los estados y otro combobox para desplegar las ciudades.
Si selecciono ciudad "x" en el combobox estado deberá mostrar el estado al que pertenece la ciudad, y viceversa, cuando seleccione estado "x" en el combo ciudades deberá mostrar todas las ciudades que pertenecen al estado.
Tengo una archivo dbf para ciudades y otro archivo dbf para los estados.
Alguna idea para realizarlo.
Gracias
Saludos
Javier
I can not think how to link two combobox, especially when you select an item, do as the filter for the condition in the next combobox, eg a combobox to display the states and another combobox to display cities.
If I select city "x" in the combobox state must show that the state belongs to the city, and vice versa, when you select state "x" in the cities combo should display all the cities that belong to the state.
I have a dbf file to cities and other dbf file to states.
Any idea to do it.
Thanks
Greetings
Javier
Spanish,
No se me ocurre como poder relacionar dos combobox, sobre todo al seleccionar un elemento, como hacer el filtro para que se cumpla la condición en el siguiente combobox, por ejemplo un combobox para desplegar los estados y otro combobox para desplegar las ciudades.
Si selecciono ciudad "x" en el combobox estado deberá mostrar el estado al que pertenece la ciudad, y viceversa, cuando seleccione estado "x" en el combo ciudades deberá mostrar todas las ciudades que pertenecen al estado.
Tengo una archivo dbf para ciudades y otro archivo dbf para los estados.
Alguna idea para realizarlo.
Gracias
Saludos
Javier