Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display incorrect info in the grid
Message
De
05/02/2004 08:30:21
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
05/02/2004 00:52:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00874318
Message ID:
00874393
Vues:
11
When you place your cursor in the field, does it show the correct fruit? If so, I believe you have the combo's right, but you need to change the Sparse setting of the column containing the combo.

HTH

>Hi All,
>
>I have a form which contains a grid and some combo box fields. I populate the two columns combo box in the init() of the form like the following...
>
>select fruit
>for i = 1 to reccount()
>With this.cmbo_fruit
>.addlistitem(fruit_name,i,1)
>.addlistitem(alltrim(str(fruit_id)),i,2)
>endwith
>endfor
>
>I stored the fruit_id into the table where I am currently using as the recordsource in the grid. Instead of displaying the name of the fruit like apple, lemon, etc..., I ended up displaying the fruit_id in the grid. The column's controlsource is assign to fruit_id. How can I fix this problem? TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform