Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture multiple items from a listbox
Message
De
11/12/2001 11:41:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
11/12/2001 10:58:46
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00592666
Message ID:
00592727
Vues:
14
Alexandre,

This didn't work. I am using Webconnect and Voodoo controls. I have a web page with a listbox. A user can select multiple items from the listbox. How can I capture all the items selected from the listbox?

This;
request.Form("mylistbox")
only returns the first item in the list.

Thanks,

Jerryt


>Hi Jerry do the following:
>
>IF request.Form("mylistbox").Count > 1 Then
>  FOR lni = 1 TO request.Form("mylistbox").Count
>    lcvalue = request.Form("mylistbox")(lni)
>    ' put the code that you need to manage the value.
>  NEXT lni
>END IF
>
>>Is there a way to capture multiple selections from a listbox control?
>>I have created a web page that contains a listbox that users can select more than 1 item from the list. They then press a button and I perform a;
>>
>>request.Form("mylistbox")
>>
>>but only the first entry is captured.
>>
>>How can I capture all selections?
>>
>>Thanks,
>>
>>Jerryt
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform