Sorry. I'm feeling dense.
"in the recordset, delete the where clause you have added."
and the variable?
"in your search form, delete the S_techid text field."
Do you mean the seperate search page in this case drill_search.php? Because there is no S_Techid text field there because I deleted it while editing that page.