Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :modernizzato gestore stampa report tabelle!


git-svn-id: svn://10.65.10.50/trunk@16516 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-04-14 13:50:09 +00:00
parent edd261b4d6
commit dc40ab62be

View File

@ -134,19 +134,22 @@ void TTable_reporter::main_loop()
while (m.run() == K_ENTER) while (m.run() == K_ENTER)
{ {
TTable_report rep(&m); TTable_report rep(&m);
TReport_book book;
TString name(m.get(F_REPORT)); TString name(m.get(F_REPORT));
if (name.empty()) if (name.blank())
name = rptname; name = rptname;
rep.load(name);
// rep.mask2report(m); if (rep.load(name))
book.add(rep); {
book.print_or_preview(); rep.mask2report(m);
rep.print_or_preview();
}
else
error_box(FR("Report %s mancante !"), name);
} }
} }
else else
error_box(FR("Manca il file %s"), (const char *)rptname); error_box(FR("Manca il file %s !"), (const char *)rptname);
} }