I have a search button, that searches for a job number (tbjobid) yesterday i spotted a issue where that if people either left the search term null, or pressed cancel, or input text into the field i got a error message, SO i amended the code, but i am not convinced it is written in the best way...