Skip navigation
Currently Being Moderated

flex 4.6  Multiselect in list for table

Dec 28, 2012 11:38 AM

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!!!!!


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points