SQLite Insert, android: NEED HELP PLEASE

I have tried every sample code I coud find on doing an insert into SQLite and not matter what I do, the app just blinks at me and does nothing
no error, no nothing.
if I view the SQLite db using SQLite Database Browser 2.0, I can do an insert no worries.
via action script, I can do an update no worries just not an insert
PLEASE HELP!!!!
I have Flash Builder 4.6
Windows 7/ 64 bit
the app is for an Android tablet
var statement:SQLStatement = new SQLStatement();
                    statement.sqlConnection = dbConnection;                  
                   var sql:String = "INSERT INTO " + strGetFlightTableName + " (txtSortie, txtSeqNumber, txtEventID, txtEventFlightNo) VALUES ('" +
                        txtSortie.text + "','" + txtSeqNumber.text + "','" + txtEventID.text + "','" + txtEventFlightNo.text + "')";
                    statement.text = sql;
                    statement.addEventListener(SQLEvent.RESULT, insertResult);
                    statement.addEventListener(SQLErrorEvent.ERROR, insertError);
                    statement.execute();
or
                    var sql:String = "INSERT INTO " + strGetFlightTableName + " (txtSortie, txtSeqNumber, txtEventID, txtEventFlightNo) VALUES (?,?,?,?)";
                    var stmt:SQLStatement = new SQLStatement();
                    stmt.sqlConnection = dbConnection;
                    stmt.text = sql;
                    stmt.parameters[0] = txtSortie.text;
                    stmt.parameters[1] = txtSeqNumber.text;
                    stmt.parameters[2] = txtEventID.text;
                    stmt.parameters[3] = txtEventFlightNo.text;
                    stmt.execute();

can you post the adsl stats from your router may need to 'show detail' to get all stats (if hub enter 192.168.1.254 in your browser and navigate to adsl or use a-z, if netgear enter 192.168.0.1) and run btspeedtester http://speedtester.bt.com and post the results.
Have you tried the quiet line test? - dial 17070 option 2 - should hear nothing - best done with a corded phone
Someone may then be able to offer help/assistance/suggestions to your problem
If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

Similar Messages

Maybe you are looking for