Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo bound to multiple fields
Message
De
18/01/2006 08:48:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01087706
Message ID:
01087918
Vues:
12
I guess I am not either. Why would you want the combo box to do that, and not the user selects which subdivision, county and state they want, and the table shows those records.

You might want to add another field to the subdivision, county, and state table as a unique index, that can be stored in the other table, then you will put the controlsource for the combobox to the other table. lookup code. That should do what you want.

>Sorry, I am not understanding. I have three fields in my table - subdivision, county, and state. I want to match those three fields to a item in the array that is the datasource for my drop down. I can add a column to the array that has all the valid subdivision+county+state, but I do not know how to code the controlsource of the combo so that when the form is displayed, the combo is showing the correct subdivision, country, and state for the current record in the table.
>
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform