Hello everybody,
I have 2 tables in documents and would like to align the 1st with the 2nd. My code doesn't work. What am I doing wrong?
I have 2 tables in documents and would like to align the 1st with the 2nd. My code doesn't work. What am I doing wrong?
B4X:
SQL1.Initialize(xui.DefaultFolder, "einkauf_tmp.db3", True)
Dim rs As ResultSet = SQL1.ExecQuery("SELECT * FROM einkauf ORDER BY produkt COLLATE NOCASE ASC LIMIT 1000")
Do While rs.NextRow
Log("einkauf")
SQL1.Initialize(xui.DefaultFolder, "einkauf.db3", True)
Dim rs2 As ResultSet = SQL1.ExecQuery("SELECT * FROM einkauf WHERE produkt = '" & mProduktTmp & "' ORDER BY produkt COLLATE NOCASE Asc LIMIT 1000")
Do While rs2.NextRow
Log("einkauf_tmp")
Loop
rs2.Close
Loop
rs.Close