This sample shows how to get user input to create a custom query. The user selects a field from the table and text to search for.