What exactly do you want to do ?
In the code you are refering to (
SQLiteLight2) the Spinner is filled only with names in the database that way you filter on existing names.
If you replace it by an EditText then you can have anything in there and get no results when you filter. I don't see the interest.
As an answer to your question, you can replace
Query = Query & "FirstName = '" & spnFirstName.SelectedItem & "' "
by
Query = Query & "FirstName = '" & edtFirstName.Text & "' "