On 20 Jun 2012, at 2:03pm, deltagam...@gmx.net wrote:

> I have a problem with the selection of the row, errorcode 21 s

Look up the error code in the list, or make SQLite print out the text message 
which does with it.

On this page

<http://www.sqlite.org/c3ref/c_abort.html>

you see that error code 21 means that you have called the wrong SQLite 
functions in the wrong order.  Looking at your code, I see that you are doing 
some binding and stepping for the SELECT command, but I do not see you have 
called _prepare() for it.  So perhaps you should take a look at this page

<http://www.sqlite.org/c3ref/stmt.html>

and make sure that you always follow all those five steps for every statement.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to