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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement