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

Click here to load this message in the networking platform