Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox display question
Message
From
01/06/2001 10:44:18
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00513150
Message ID:
00513790
Views:
12
You can always display more than one field by populating the combobox with an SQL statement (RowSourceType = 3 - SQL; RowSource = "Select Lname, Fname, cust_id from customer..." or "Select alltrim(Lname) + ', ' + Fname, cust_id...")
This works well for listboxes where you are choosing from an existing list. The problem with a combobox is that it allows you to enter data. If you have multiple fields, which field is getting written to?

John

>Hello Everybody
>
>I have a short question
>
>in foxpro2.6x (dos) can I display more then one field in a dropdown combobox
>
>like vendor and vendor_id in the dropdown part, I don't care if the inactive dropdown box only shows one field, as long as the activate (opened) dropdown box shows more then one field
>
>list in visual foxpro all you have to say is columncount = 2, ya know??????
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform