Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox problem - BoundColumn??
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00129328
Message ID:
00129345
Views:
27
Oops! Forgot the important part. Set the ColumnCount property to 2.

>Set two column widths (e.g., 200,75) in the ColumnWidths property and the box will display both columns.
>
>>I have a combobox with the following settings:
>>
>>RowSourceType=3 - SQL Statement
>>RowSource=SELECT Buildesc, Buil FROM Buil WHERE STR(Buil.Proj,4)=mcproj ORDER BY Buildesc INTO CURSOR cBuilList
>>BoundColumn=2
>>BoundTo=.T.
>>ControlSource=Builinfoview.Buil
>>
>>What I am trying to do is allow the user to access the combobox items based on Buildesc because the users know the names better than the number. But I want the combobox to show the Building number (Buil). Any ideas? TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform