Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box
Message
 
To
05/01/2001 16:00:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00460030
Message ID:
00460144
Views:
11
Lance (via Trey)
To expand on Trey's information a bit--- Be sure you set the BoundColumn property to match the position of your code field - in Trey's example this would be 2. Also, if your code is a numeric ID then you may need to set the BoundTo property to TRUE.

Barbara


>The combobox always displays the first column in the RowSource - nothing says you can't turn it around to put the desired column first, though.
>For a RowSourceType of 6 (fields) or 2 (alias) - yes, 2 - you can just put the desired column first in the list, e.g., if it's field2 from the cursor
this.RowSourceType = "cursor.field2,field1"
For a RowSourceType of 3 (select) or 5 (array), you would have to reorder the fields in the code that produces said select or array.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform