Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo NumberOfElements
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Combo NumberOfElements
Divers
Thread ID:
00616066
Message ID:
00616066
Vues:
67
VFP7SP1. I have a combo class that retrieves records from lookup tables into an array. I am trying to limit the drop down list to 5 items by setting the NumberOfElements to 5. This property shows the correct value of 5 in the debugger, but the list always shows 7 items. My next illogical step was to set the NumberOfElements to 3 hoping to get to 5. Nope. I still get 7 listed. Am I missing something? TIA!

Update: Crap! We are limited to a ColumnCount of 1. So this only works if the value I want to store in the ControlSource is the lookup description instead of the PK. I guess I could just list the PK of the lookup values in the combo and let the users guess which PK to select. THIS IS WORTHLESS!!!!!!!!!!!!!!!!! < SET RANT OFF >
Mark McCasland
Midlothian, TX USA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform