Multiple selects--Please help!

Results 1 to 3 of 3

Thread: Multiple selects--Please help!

  1. #1
    Join Date
    Dec 1969
    Posts
    99

    Default Multiple selects--Please help!

    I&#039ve tried and tried, but nothing I do works. I need to add all the selected elements of a multiple select into one field in a database. Following is my code. Please help!!! Thanks in advance, Jill.<BR><BR>If Request.Form("products").count &#062; 1 then<BR> for x=1 to Request.Form("products").count<BR> value = Request.Form("products")(x) + value<BR> next<BR> RSObj("eventsProducts") = value<BR>Else<BR> RSObj("eventsProducts")=Request.Form("products")<B R>End If

  2. #2
    Join Date
    Dec 1969
    Posts
    60

    Default RE: Multiple selects--Please help!

    What error are you getting? There doesnt seem to be anything wrong with your code.

  3. #3
    Join Date
    Dec 1969
    Posts
    99

    Default RE: Multiple selects--Please help!

    The error isn&#039t very explicit. It just says, "Error found." or something and gives an error number. I don&#039t have it on-hand right now, but I can find it tomorrow.<BR><BR>Anyway, the error comes at the point after the loop, but before the Else statement, when I say<BR><BR>RSObj("products") = value<BR><BR>But I don&#039t know why! Please help, if you can! :)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •