You would need to execute a query with a where clause based on your input and then if results are returned clear your listview and add the items returned in your new recordset.

Based on the code...