You should probably save the value from the search field into the session. That way it will be maintained when they browse from page to page or click on the details and return to the results.
Then you can add a sql parameter to the Recordset. Take a look at the details page created by DataBridge to see what a sql parameter looks like.