>Hi All
>
>I have to give a option to the user to select multiple languages from the list.
>I have created one container class with textbox and command button. when clicked on command button another form opens whith a list of languages,the user selects it and then selected values get concatenated and displayed in the textbox.
>My problem is if the user clicks the command button again, now the previously selected values must appear as selected. This is something i am unable to achieve.
>
>Can any one help me with this
>
>Thanks & Regards
Send TextBox value as parameter to that form, then AFTER you fill list box with languages just do:
IF NOT EMPTY(lcParametersWithPreviouslySelectedLanguages)
FOR lnFor = 1 TO thisform.List1.ListCount
thisform.List1.List(lnFor).Selected = (thisform.List1.List(lnFor) $ lcParametersWithPreviouslySelectedLanguages)
NEXT
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.