i make function to get value of any field ::
this command return field name I want field value
B4X:
Sub function(sqlite As SQL,book As String,accode As String,return_field) As String
Return sqlite.ExecQuerySingleResult2("select '" & return_field & "' from GL where FBOOK = ? and FACCODE = ?", _
Array As String(book,accode))
End Sub
this command return field name I want field value