Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DropDown Combo Box
Message
 
To
15/02/2001 21:51:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00476569
Message ID:
00476571
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform