Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDown Combo
Message
De
11/09/1997 13:57:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00049564
Message ID:
00049573
Vues:
67
>I have a dropdown combo box that I'm filling with distinct values already entered in a field called en.subject. I want the users to either pick a value someone else has already entered or enter a new one. Picking one off the list works great when I run tableupdate but when they type in different text and save that value just disappears. En.subject is set as the ControlSource. Can someone tell me what I'm doing wrong. I'm sure it's something simple as usual.
>
>Brad

When you type something new in the text portion of combo, you should save Combo.DisplayValue property. You could clear Combo.ControlSource property and have following code in Combo.LostFocus event:
Select En
Replace En.Subject with This.DisplayValue
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform