Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox Display
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Combobox Display
Miscellaneous
Thread ID:
00680295
Message ID:
00680295
Views:
55
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.
Next
Reply
Map
View

Click here to load this message in the networking platform