Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026659
Message ID:
00026797
Vues:
60
>>>>>I am having a problem when I am entering data into a combo box. The data entered into the combo does not get entered into the underlying field unless the data is in the list. I have Style set to 0 - Dropdown Combo because I want the user to be able enter something that is NOT the list. Is there a property setting I am missing to do this?
>>>>
>>>>You should use something like this:
>>>>IF combo.displayvaluecombo.value
>>>>*** change source here, e.g.
>>>> INSERT into combosource VALUES()
>>>> combo.requery
>>>>ENDIF
>>>
>>>Where do you place that code?
>>>Thank you.
>>
>>I believe it might be LostFocus event.
>
>No, in the additem event.

I was not sure 100% while answering, so I have tested and now I can assure you that LostFocus is good too.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform