Hi Everyone,
I would like to use the value from an EditText box to filter a ListView.
Can you look at my coding and let me know what else I need to do to get it to work?
So far it only returns 0 rows.
Thanks.
I would like to use the value from an EditText box to filter a ListView.
Can you look at my coding and let me know what else I need to do to get it to work?
So far it only returns 0 rows.
B4X:
Sub ButtonSearchFilterEventHandler_Click
' Populate the list.
'-------------------
DBUtils.ExecuteListView(SQL, "SELECT Id, ResultDescription " & _
"FROM VisitResultTypes " & _
"WHERE ResultDescription = ? " & _
"ORDER BY ResultDescription", _
Array As String(EditTextResultDescription.Text), 0, ListViewResults, True)
End Sub
Thanks.