Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capture multiple items from a listbox
Message
De
11/12/2001 11:51:12
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
11/12/2001 11:41:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00592666
Message ID:
00592739
Vues:
15
Sorry Jerry this sample was to be use in ASP I don't know how Webconnect and Voodoo controls work since I make all my own web development with COM+ objects and ASP files so I cannot helpe in this case perhaps someone that works with this will step in and hel you out.

>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
Alexandre Palma
Senior Application Architect
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform