Add parameter to specify table and check that the table does not contain any results for the current date