In the meantime I learnt that you can get the sum of a column in the B4XTable with
But what if the user searched for a certain text. Do I have to work with the WHERE statement in the query or is there something like "FROM FilteredData".
B4X:
Dim total As Double = B4XTable1.sql1.ExecQuerySingleResult($"SELECT sum(${Column.SQLID}) FROM data"$)