Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Databound combo box question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00571466
Message ID:
00571579
Vues:
25
Kirk,

BoundTo = .F. should work. I use VFP7 or VFP6SP4. I initially declare gnViewDept in Init of the form as public variable with 1 value and it works seamless.

>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.
>
>Thanks for any and all help
>
>Kirk
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform