Helo,
i fill my database with tihs code
and i call the database Contents with this code
This Problem is, after call the Contents, then is my Database empty.
Why?
can someboady help me ?
i fill my database with tihs code
B4X:
SQL1.ExecNonQuery2("INSERT INTO nachrichten VALUES(?,?,?,?,?)", Array As Object(ayir(0), ayir(1), ayir(2), ayir(3),ayir(4) ))
and i call the database Contents with this code
B4X:
Dim Cursor1 As Cursor
Cursor1 = SQL1.ExecQuery("SELECT Name, Nummer, msg, Link, Datum FROM nachrichten")
For i = 0 To Cursor1.RowCount - 1
Cursor1.Position = i
Spalte1 = Cursor1.GetString("Name")
Spalte2 = Cursor1.GetString("Nummer")
Spalte3 = Cursor1.GetString("msg")
Spalte4 = Cursor1.GetString("Link")
Spalte5 = Cursor1.GetString("Datum")
Next
Cursor1.Close
This Problem is, after call the Contents, then is my Database empty.
Why?
can someboady help me ?