Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox Display
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Combobox Display
Divers
Thread ID:
00680295
Message ID:
00680295
Vues:
54
Hi All!

I have a table sample.dbf with fields field1 C(10), field2 C(20) and field3 I(4).
I have a combobox control cboSample with these properties:
Thisform.cboSample.BoundColumn = 3
Thisform.cboSample.ColumnCount = 2
Thisform.cboSample.ControlSource = sometable.field1
Thisform.cboSample.RowSourceType = 6-(Fields)
Thisform.cboSample.RowSource = sample.field1,field2,field3
What I'm trying to work out here is display 2 columns in the combobox (field1 and field2). field3 would be the bounded column but would not be displayed. What happens is that it displays the correct columns as expected, but when I try to click on the control and choose a record, the control seems to not display anything. If I choose using keystrokes, it displays the record. Also, I would want it that field2 would be displayed on the control, but field1 would be the first column on the control.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform