Hello everyone,
in this code
the pointer doesn't make the first loop. It jumps directly to 'lst.sort(true)'.
I've closed the app and relaunched it, but the behaviour is the same.
I've relaunched my device too, and the result is the same.
The table chif is not empty, the SQLite statement is declared correctly in module Starter.
Did I forget to add something anywhere ?
in this code
B4X:
curs=Starter.SQL1.ExecQuery("SELECT chif FROM lotoGroupe")
Dim lst As List
lst.Initialize
'---------------------------------- this block is ignored
For i=0 To curs.RowCount-1
curs.Position=i
lst.Add(curs.GetString("chif"))
Next
'-----------------------------------
lst.Sort(True)
For i=0 To lst.Size-1
Log(lst.Get(i))
Next
the pointer doesn't make the first loop. It jumps directly to 'lst.sort(true)'.
I've closed the app and relaunched it, but the behaviour is the same.
I've relaunched my device too, and the result is the same.
The table chif is not empty, the SQLite statement is declared correctly in module Starter.
Did I forget to add something anywhere ?