Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo boxes
Message
From
11/05/2000 05:40:12
 
 
To
11/05/2000 05:01:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00368441
Message ID:
00368443
Views:
24
>I need a drop down combo that lists all of the distinct values already in that field, for example, selecting a company from a list of companies already in the database, you also need to be able to enter a new company. How do I do this?


The quick and dirty way is to set your rowsource to 3 - SQL and the rowsource to SELECT DISTINCT company FROM yourtable INTO CURSOR cCompanySQL. Set the controlsource to company field in your table.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform