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:
00129428
Views:
32
I already have this. The dropdown of the combobox has 2 columns showing Building Desc and Building #. I need the textbox part of the combobox to show the Building # but it shows the Building Desc instead. Any ideas?

>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
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform