scuttleButt
Programmer
I am working in vbscript, ASP pages, SQL 2000 backend. I have 2 multi-select list boxes working together. One list is selUnused for unused codes and the other list is, selSelected for the codes selected. The user can move the codes between the two lists while they are deciding which codes they want to select. They work fine and I can get data from them but what I really want to do is add a database record for EVERY code in the selSelected list.
I Know that I have a response.write not an insert but this is simply to illustrate...
For a = 1 to Request.Form("selSelected"
.Count
Response.Write("The code" & Request.Form("selSelected"
(a) & " was selected<BR>"
Next
In order to write each code in the list I have to actually select them but in my screen if they are in the selSelected list they are already selected. How can I get to everything in the selSelected list?
Any ideas will be appreciated I have been beating my head against the wall on this one. Thanks!
I Know that I have a response.write not an insert but this is simply to illustrate...
For a = 1 to Request.Form("selSelected"
Response.Write("The code" & Request.Form("selSelected"
Next
In order to write each code in the list I have to actually select them but in my screen if they are in the selSelected list they are already selected. How can I get to everything in the selSelected list?
Any ideas will be appreciated I have been beating my head against the wall on this one. Thanks!