Hi, Can anyone help me out (with a suggestion or example) how to hide the add-button on a list page depending the number of rows in a table. I thought I knew how to do this but I forgot it. Shame on me. Thanks, Jacques
} You can use $data["field_name"] on this page as well in your $strSQLSelect query if you need to narrow your results down further than just getting a total count for the whole table. global $conn;
$strSQLSelect = "SELECT COUNT(some_filed) AS Table_Count FROM YOUR_TABLE WHERE some_field = '".$data[some_field_on_list_page"]."'";