Dim tag2 As String
Dim c As Cursor
c = sql1.ExecQuery("SELECT * FROM Verses")
c.Position = 5 'set to row 5
tag2 = c.GetString("F1") 'gets the word stored in Column F1, row 5
'now search the same word obtained from the database
c = sql1.ExecQuery($"Select * FROM Verses WHERE ((F1+F2) LIKE '%${tag2}%')"$) 'this query does not work
log (c.RowCount) ' gives 0
c = sql1.ExecQuery($"Select * FROM Verses WHERE ((F1) LIKE '%${tag2}%')"$) 'this query works
log (c.RowCount) ' gives 1