0 Replies Latest reply on Dec 28, 2012 11:38 AM by rabbit78

    flex 4.6  Multiselect in list for table

      Hello everyone!!

      to enter into a data table write:


      private function createNewPlaylist():void{

           var stat:SQLStatement = new SQLStatement();

           stat.sqlConnection = connection;

           stat.text = "INSERT INTO playlist (nome, base, testo, lista) VALUES (@nome, @base, @testo, @lista)";

           stat.parameters["@nome"] = listaDatasong.selectedItem.nome;

           stat.parameters["@base"] = listaDatasong.selectedItem.base;

           stat.parameters["@testo"] = listaDatasong.selectedItem.testo;

           stat.parameters["@lista"] = listaCombo.selectedItem.combo;

           stat.execute(-1, new Responder(selectItemsPlaylist));




      in this way only works one at a time!!

      how can I turn a multiselect with a single click and then insert into the table only the selected rows?

      I hope I was clear!!


      help me please!!!!!