Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I am using a list box with 2 columns and it is bound to column 2 and multi select is true. When I use the following to see which items have been selected
and the value in column 2 is to be be put in a variable it always puts column 1
value instead. I need to have column 1 searchable so it needs to be listed in the list box first. If there is a way to put column 2 into in tha variable that is what I would like OR if I can make column 2 searchable in the listbox.
By searchable I mean if I type a character the list box will move to the first value with that character at the beginning of the string.
lcCustnos=""
FOR I=1 to THISFORM.CustList.ListCount
IF THISFORM.CustList.Selected(I)
lcCustnos=lcCustnos+','+THISFORM.CustList.List(I)
ENDIF
ENDFOR
Thanks
Andy Roth
Suivant
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