Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databound combo box question
Message
De
21/10/2001 16:47:31
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00571466
Message ID:
00571490
Vues:
25
>I have a combo box with the following:
>
>
>BoundColumn=2
>BoundTo=.t.
>ControlSource = gnViewDept
>RowSource=v_userDepts.deptdesc,deptid
>RowSourceType=6-Fields
>
>
>
>My problem is that when the form load, the combo box shows the department name based off gnViewDept. But when I use the combo to change the departments, the displayvalue goes blank. gnViewDept is updated to reflect the newly selected department, and the control when I click on it shows all the departments, but after the drop-down closes, nothing is displayed. If I change BoundTo to False, the control maintains it display value, but gnViewDept doesn't get updated.

I would include the cursor name in the ControlSource.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform