Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DropDown Combo Box
Message
 
À
15/02/2001 21:51:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00476569
Message ID:
00476571
Vues:
21
>Hi. Trying to put a drop-down combo box on my form. Needs to have one field from the "salesman" dbf [free table] (NOT the first field). What Row Source, Row Source type would I use? What other PEM's do I need to set?

Hi Randy,

If you want to lookup values in your combo from one table and store them in another you typically need the basic setup like:

.RowSourceType 6 - Fields
.Rowsource = salesman.last_name
If you don't want to type the new values in combo set
.Style = 2 - Dropdown Listbox

Set .ControlSource to the alias.fieldname in another table to store the selected data.

You can do it easy way - by using the builder. Right-click on your combo and select Builder... from the menu.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform