Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternate values from a combo
Message
De
18/01/2007 12:10:57
 
 
À
18/01/2007 12:07:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01186685
Message ID:
01186714
Vues:
23
>>>Suppose you have a dropdown combo that contains 2 or more columns. The value of the combo is tied to column1. How would you retrieve the value from the other columns for the selected item?
>>>
>>>Thanks in advance for any help on this one.
>>
>>this.ListItem[this.ListIndex, col], also depending on the RowSource for the combo you may use Alias.Field (in case Alias is the RowSource) or Array[this.ListIndex,nCol] in case of array.
>
>Thanks Naomi, worked like a charm.
>
>Terry - Thanks, but if I changed boundto I would just have to change it back again to its original value.

Aye, well you didn't say "temporarily" retrieve. That, of course, is for when you want to specify the column to retrieve from, when not the default, on a "permanent" basis.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform