i want to display a record set.
<?php
$task_find = $IT_task->newFindCommand('task_instances');
$task_findCriterions = array('current_year'=>'='.$task_row->getField('completion_year'),);
foreach($task_findCriterions as $key=>$value) {
$task_find->AddFindCriterion($key,$value);
}
fmsSetPage($task_find,'task',50);
?>
I want to display any record that the current_year field = completion_year field. these fields have the yyyy format. somehow my code is not working.. any suggestions? thanks