Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox : What Am I missing?
Message
De
21/02/2014 13:38:03
 
 
À
21/02/2014 12:50:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01594899
Message ID:
01594908
Vues:
61
>Bound column = 2
>Column count = 1
>Control source= name of the required
>RowSource = SQL construct
>RowSourceType = 3 (SQL Statement)
>Style = 2 (dropdown list)
>
>The problem is that the returned value should be the primary key associated with the selected field.
>
>Instead it returns the number of what I selected
>
>
>
>Example
>
>Displayed Value
>
>Name, Primary key
>==============
>
>Bob,25
>Sam,32
>
>Instead of returning 25 when I select Bob the value that goes in the table is 1.
>
>What's wrong here?

Thanks!
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform