$rep->TextCol(1, 2, $myrow['type_no']);
$rep->DateCol(2, 3, $myrow["tran_date"], true);
if ($dim >= 1)
$rep->TextCol(3, 4, get_dimension_string($myrow['dimension_id']));
if ($dim > 1)
$rep->TextCol(4, 5, get_dimension_string($myrow['dimension2_id']));
$rep->TextCol(1, 2, $myrow['type_no']);
$rep->DateCol(2, 3, $myrow["tran_date"], true);
if ($dim >= 1)
$rep->TextCol(3, 4, get_dimension_string($myrow['dimension_id']));
if ($dim > 1)
$rep->TextCol(4, 5, get_dimension_string($myrow['dimension2_id']));