Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo/List Boxes not updating when value set
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00203971
Message ID:
00203992
Vues:
15
It seems that you have solution: call Thisform.Combo.Value=orderview.commsol programmatically and it will work OK.
BTW, it's really character (or integer)? I mean in both tables.

>Here are some of the stats on this particular combo/dropdown list...
>
>CONTROLSOURCE = orderview.commsol
>ROUWSOURCE = commsolsview.solno,solname,solteam
>BOUNDCOLUMN = 1
>
>The value is getting set to "0056"
>The commsolsview.solno does contain "0056"
>
>After setting the value, I can make it appear properly simply by setting focus to the object. Then the value appears... Before I setfocus, no appearance of the recently set value, even with a refresh, and lockscreen=.f.
>
>Thanks
>
>>There are fewo things which should be provided:
>>1. The value you want to show should be in list portion of the combo.
>>2. The combo should be properly bound to its rowsource (BoundColumn property).
>>3. You cannot use the same cursor as both row and controlsource.
>>4. If all 1-3 are provided, you may set Combo.Value=cMyvalue and see it in the combo text portion.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform