Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a Combo box show a value not in the array?
Message
 
À
16/09/2003 15:16:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00829585
Message ID:
00829752
Vues:
22
Pat,
I believe that the items must be present in the combo box for them to be displayed. Either add any new items to the array as required or it may be easier to create the combo using AddItem (just looping through the array) then each time the combo value changes check its in the array if not do an AddItem to add it to the combo.

Just a thought
Caroline
>Hi,
>
>I have a combo box whose values are loaded from an array. The array, of course, contains the legal selections for the value of the field related to the combo box. The problem is that valid items tend to change over time and, while I only want the user to be able to select items in the array, I want to display the value of the field from the older records which contain values no longer in the array. Unfortunately, the combo displays a blank when the value from the record is not in the array.
>
>I am using VFP8 and would appreciate any suggestions.
>
>Thanks,
>Pat
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform