The recordset
code is inserted after the transaction
initialization and it looks like the sample below:
// Get the transaction recordset
$rsdepartments_dep
= $tNGs->getRecordset("departments_dep");
$row_rsdepartments_dep = mysql_fetch_assoc($rsdepartments_dep);
$totalRows_rsdepartments_dep = mysql_num_rows($rsdepartments_dep);