To change the row color of a report, I want to add code like this that I've used on a form to the Before display event. Of course, there is no $data object, so I'm wondering how to do it in a report at run time.
Ideas? Thanks.
--
$dateDue = date($data["DateDue"]);
$currentDate = date("Y/m/d");
if ($dateDue <= $currentDate)
$record["css"]='background-color: #ff0000; color:#fff; font-weight: bold;';