Patch level : 10.0 290
Files correlati : Commento : Quadro VE versione 1 git-svn-id: svn://10.65.10.50/branches/R_10_00@23339 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
03114146c7
commit
74276c081e
@ -42,13 +42,15 @@ const real TQuadro_VE_recordset::evaluate_recordset(const int code, const int ye
|
||||
TProgram_report & rep = _mask->get_report(code - 1);
|
||||
TISAM_recordset * set = (TISAM_recordset *) rep.recordset();
|
||||
|
||||
set->set_var("#ANNO", format("%d", year));
|
||||
if (set != NULL)
|
||||
{
|
||||
set->set_var("#ANNO", format("%d", year));
|
||||
|
||||
if (set->items() > 0)
|
||||
for (set->move_first(); !set->eof(); set->move_next())
|
||||
val += set->get(RMI_IMPONIBILE).as_real();
|
||||
|
||||
set->freeze();
|
||||
if (set->items() > 0)
|
||||
for (set->move_first(); !set->eof(); set->move_next())
|
||||
val += set->get(RMI_IMPONIBILE).as_real();
|
||||
set->freeze();
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user