Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box
Message
From
13/11/2002 14:40:49
 
 
To
13/11/2002 14:32:15
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00722306
Message ID:
00722314
Views:
18
You could easily change the order of the fields in your view and set the 'BoundColumn' to 2 instead of 1. That would get you cWorkOrderNo displayed, and the cLineCode field would still be the bound field.

The other is IMHO, messy. You'd need to show it the same way in the dropdown. In other words, you'd have a view with an expression as your first column (cLineCode + cWorkOrderNo) and cLineCode as column 2. As above, you bind column 2.

Alan

>A combo box I created has it's "RecordsourceType" set to "2-Alias", and the "RowSource" set to "lvWeighStation", where "lvWeighStation" is a local view, which gets the "clinecode" and the "cworkorderno" (in that order) from two differnet tables.
>
>When I select from ComboBox, the "clinecode" is used as the "DisplayValue/Value" of the box.
>
>I wish that the second column, "cworkorderno", be displayed as the "DisplayValue/Value", or better yet the "clinecode" along with the "cworkorderno" (column 1 & column2).
>
>Is this possible?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform