Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I have been driving myself insane trying to get a value returned from a list box. I know it can't be as difficult as I'm making it out to be. The list box has 7 columns. I want to return the value that's in the seventh column. This column contains a unique ID which would be used to do further work via SQL statements. I populate the list with an array. Users need to see the other 6 columns to make a decision on which to pick. I can return the value of the user's pick, ie the row number of their pick, but not the actual value. What am I missing?????
>>
>>Many thanks.....
>
>Greg,
>
>You could try:
>
>uSelectedValue = FORM.listbox.LISTITEM(FORM.listbox.LISTITEMID, 7)
>
>HTH
>MIke
Mike,
Thanks....the problem was BoundTo=.f. rather than .t. Everything now works as it should.
Greg
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement