Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox selection not showing
Message
De
01/07/2011 16:32:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01517094
Message ID:
01517106
Vues:
57
>Have a table listing of bid numbers and the combobox is supposed to allow the user to select one and then they click a CONTINUE button to move on. The problem is that after they select a Bid# they do not see it in the Combobox....although it is selected.
>
>BoundColumn =1
>BoundTo=.F.
>ControlSource = variable ending up with value
>FirstElement = 1
>Number of Elements = 0
>RecordSource = tablename.BidNo
>RecordSourceType = 6
>ColumnCount = 1

First, I can't tell whether these are Property Sheet settings or code you're running.

Second, you almost never need to set FirstElement or NumberOfElements for a combo. They're only meaningful when RowSourceType is 5-Array. Any time you think you need to set those properties, what you probably need is to call the Combo's Requery method.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform