Hi,
Mydb contains the table TABELLA_TIPI with two fields: TIPO and DESCRIZIONE.
This is the code:
If I change the query in
"SELECT * FROM TABELLA_TIPI ORDER BY TIPO"
or
"SELECT * FROM TABELLA_TIPI ORDER BY DESCRIZIONE"
It does not change anything.
Thank you
Mydb contains the table TABELLA_TIPI with two fields: TIPO and DESCRIZIONE.
This is the code:
B4X:
If File.Exists(File.DirRootExternal, "MYDB") = False Then
File.Copy(File.DirAssets, "MYDB.DB", File.DirDefaultExternal, "MYDB.DB")
SQL1.Initialize(File.DirDefaultExternal, "MYDB.DB", True)
Dim SenderFilter As Object = SQL1.ExecQueryAsync("SQL", "SELECT * FROM TABELLA_TIPI", Null)
Wait For (SenderFilter) SQL_QueryComplete (Success As Boolean, rs As ResultSet)
If Success Then
...
"SELECT * FROM TABELLA_TIPI ORDER BY TIPO"
or
"SELECT * FROM TABELLA_TIPI ORDER BY DESCRIZIONE"
It does not change anything.
Thank you