>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