Hi,
I use dadabik 3.0
and the tip is
sorry I have no line-numbers)
adapt it to your needs
In form.php you can find this piece of code:
case "search":
// build the select query
if (!isset($where_clause)){ // it's a search result, the
user has just filled the search form, so we have to build the select
query
$where_clause = build_where_clause($_POST,
$fields_labels_ar, $table_name);
} // end if
Below this, you can add this to exclude records from your query:
$extra_whereclause = "yourfieldname <> ''";
if ($where_clause != "") {
$where_clause .= " AND " . $extra_whereclause;
} else {
$where_clause = $extra_whereclause;
}
--
Greetings,
Hugo