Re-selecting values in multi-select menu

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I use a multi-select menu in an ASP so the user can pick several values.

   <select multiple name="lbErrorType" size="12">

However, after I have saved the records to the DB, and the user comes back
to edit a prior record, I re-populate the multiple select box and do a
"<option selected>" during a DO loop, for each matching record that is saved
to the DB.

      <option selected>

But only the last value is selected !

How do I get the select menu to select ALL the appropriate values ?

Re: Re-selecting values in multi-select menu

Found it, it was table navigation logic.  thanks anyways.

Site Timeline