Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture multiple items from a listbox
Message
From
11/12/2001 11:41:52
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
11/12/2001 10:58:46
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00592666
Message ID:
00592727
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform