Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you return more than one thing from combobox?
Message
From
23/03/2001 09:02:13
 
 
To
22/03/2001 17:32:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00487803
Message ID:
00487962
Views:
8
>I have a combobox which shows three fields. I need to return two of them. How can I do this?
>

Add a fourth field that is a concatenation, with a delimiter, of the two fields that you would want to return. Set the columnwidth of the fourth column to 0. Then set the BoundColumn value to this fourth field. Then parse the return value to an array using alines().

ComboBox Columns: Concatented Bound Column delimited with '#'
ITEM1, ITEM2, ITEM3, ITEM4(ITEM1 +"#" +ITEM2)

alines(arrTemp, chrtran(cbo.Value,"#",chr(13)))

HTH

>TIA
>Sandi Cassidy
ramil
~~ learning to stand still
Previous
Reply
Map
View

Click here to load this message in the networking platform