Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid with ComboBoxes
I have Grid in VFP 3 that has two ComboBoxes in it. One ComboBox depends on the other for its information. For example, one ComboBox has Continents and the other has countries for that Continent. Clicking on the Continent ComboBox requeries the Country ComboBox to show only those countries in the selected Continent. Each ComboBox has two columns: a Name (e.g. Asia) and a number ID. The BoundColumn is 2 (number ID) and Sparse = .F.
The problem is whenever I have more than one row, and I change the Continent, the Country popup refreshes for all rows in the Country column. So, if I choose North America in row two and row one has a Continent of Asia, the country ID for North America now displays the corresponding country ID in Asia.
Is there a way to prevent all rows in the Country column from being refreshed? Sorry if this is confusing.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement