This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You may want to put two textfields, name and location. When name field is filled, search by name. When location field is filled, search by location.
If both are filled, search for a record with that name and location. In this case, it usually returns you only one search result.