I cannot insert rows in Sqlite

Hello everyone.
I'm trying to insert data in a table in Sqlite and can't do it.
My sql instructions are:

insert into movimientos(key,text1,text2,real1,real2,text3) values(null,
?,?,?,?,?);

**



**

The first field is the key,numeric and is AutoIncrement.
The remaining fields are 3 texts and 2 real.
In the blocks, the text fields are written with " ".

But it is not working!!!
I have a label where i receive the message:

"SQL command completed"
But it didn't add any row.
Any idea is welcome.
Thanks.

Sincerely,
Rafael

No closing bracket, ) at the end of your sql statement in the blocks, and you could try the single quotes for all textboxes. You could also show your CREATE TABLE command, so we can see how your "key" is handled.

From the guide:

You also probably do not want to import the read only db from assets each time you start the app, because this will overwrite the default database, and any work you have done on it. Again look at the guide which provides methods for how to handle databases.

Use Do it and show us the complete insert statement

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.