Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sorted Combo box with ControlSource problem
Message
De
25/02/1999 10:49:36
 
 
À
25/02/1999 10:25:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00191414
Message ID:
00191444
Vues:
16
Thanks for your response.

Perhaps I wasn't as clear as I might be about the actual problem.

With the BoundTo value set to .F., the default, "the Value property is (automatically) determined by data type of the variable or field specified in the ControlSource property." I'm not getting a data type mismatch -- so the control is properly detecting the numeric field it's bound to. That doesn't seem to be the issue.

The problem is that I'm getting the location in the array as a return value. That's fine if the query returns values in nCode order -- because the nCode value and the index for the value in the combo box array match. However, when the query is sorted by cDescription, the nCode values no longer match the combo box array index. I want to return a value that I assign, rather than the index into the combo box array for the selected value.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform