Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox display question
Message
De
01/06/2001 10:44:18
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00513150
Message ID:
00513790
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform