Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box insert problems
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combo box insert problems
Divers
Thread ID:
00042805
Message ID:
00042805
Vues:
82
I am using VFP 3.0 for Windows.

I am having a strange problem with a combo box. I allow users to choose a value from a combox and the choice is stored directly in a field of a table (the field is specified as the control source). Nothing fancy. One of the values in the combo box is "*OTHER". If this is chosen, a form pops up that allows the users to type in the value they want, and this is stored directly into the field of the table (using the "replace" command).

This works fine for a combo box that is filled using an array, but has problems when the combo box is filled using select statement directly. In both cases the correct value gets put into the field, but when using the "select", the value won't display if it was input by choosing "*OTHER" (which means the value isn't one of the values returned by the select statement).

It seems that if the field that is the control source of the combobox ever has a value that is not one of the values in the select statement ,the value will not display.

Can anyone help?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform