Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00680373
Message ID:
00680376
Vues:
19
Have you set RowSourceType to 2 or 6?

Before thisform.ComboBoxB.refresh(), try putting thisform.ComboBoxB.Requery().

>Hi,
>My program has two combo boxes. The value selected in combobox A determines the rowsource for combobox B.
>
>I tried to do it this way:
>
>ComboBox A - Interactive Change
>
>do case
>case this.text = "A"
> thisform.ComboBoxB.rowsource = TableAlias.Field1
>case this.text = "B"
> thisform.ComboBoxB.rowsource = TableAlias.Field2
>endcase
>
>thisform.ComboBoxB.refresh()
>
>But ComboBox B is not showing the right values. Do I need to define any property other than the rowsource?
>
>Thank you.
>
>Ria
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform