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