i've a sqlite database.
when i've do a select i got an error.
this is the code
this is the structure of database
h_ttp://imageshack.us/photo/my-images/860/62387738.png
and this the error
h_ttp://imageshack.us/photo/my-images/210/38246890.png
read at the bottom of image for error
how can i solve it??
when i've do a select i got an error.
this is the code
B4X:
Sub cmdTutte_Click
Dim frasi As String
Dim n As Float
lstfrasi.Clear
n=SQL1.ExecQuerySingleResult("SELECT count(*) FROM TB_TEMI")
Dim Cursor As Cursor
Cursor = SQL1.ExecQuery("SELECT TITOLO, TRACCIA FROM TB_TEMI where titolo!='z' order by TITOLO")
For i = 0 To Cursor.RowCount - 5
Cursor.Position = i
lstfrasi.AddTwoLines (Cursor.getstring("TITOLO"), Cursor.getstring("TRACCIA"))
Next
Cursor.Close
End Sub
this is the structure of database
h_ttp://imageshack.us/photo/my-images/860/62387738.png
and this the error
h_ttp://imageshack.us/photo/my-images/210/38246890.png
read at the bottom of image for error
how can i solve it??