0 Replies Latest reply: Jan 2, 2014 4:28 PM by _ADP_ RSS

    Air - Sqlite with Adobe Air insert data in memory, but do not record on the database file

    _ADP_

      I have the code:

       

      var statement:SQLStatement = new SQLStatement();

                             

      statement.addEventListener(SQLEvent.RESULT, insertResult);

      statement.addEventListener(SQLErrorEvent.ERROR, insertError);

                             

      statement.sqlConnection = sqlConnection;

      statement.text = "insert into table values('"+TINome.text+"','"+TISerial.text+"') ";

       

      statement.execute();

       

      This run without error and the data is inserted (i dont know where), but when i see into database with firefox sqlite manager, the database is empty! But the Air continue run for a time like the data was recorded on the database file. I dont know what is happen with it.

       

      Help please!