Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi Column Combo Box - VFP 5.0
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00015710
Message ID:
00015994
Views:
38
>>Is it possible to create a two column combo box where both columns are
>>based on the same field. The first column is the last 8 characters and
>>the second column is the full field. For search purposes the last 8
>>characters are used in an index, but it is not necessarily a unique value
>>so the full field must also be veiwed.
> What if you try to create a cursor with two fields, meeting your
>requirements and use it as RowSource for your combobox?

>L< answered this one on the microsoft.public groups. She was able to get it to work programatically, by setting the RowSourceType to 6 and the RowSource as follows:
     cboWeird.RowSource = ("right(field, 8), field")
I haven't tested this myself, so I can't vouch for its workability....
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform