Nailed it! So I see that you added the WADbSearch code from the search page and then included these two lines to the 'fetch data' sql statement:
setQueryBuilderSource($sqlStatement,$WADbSearch1,false);
$rows = mysql_query($sqlStatement);
So simple - thanks again, Ray!