diff --git a/ca/ca3883.cpp b/ca/ca3883.cpp index 9532799a4..6c29c5c28 100755 --- a/ca/ca3883.cpp +++ b/ca/ca3883.cpp @@ -271,10 +271,13 @@ bool TCRPA_report::generate_columns (TString_array& codici, TString_array& testa if (head.items() > 0) { TString ps; + //i campi dei totali da resettare sono tanti quante le colonne generate for (int k = 1; k <= codici.items(); k++) { + if (ps.full()) + ps << "\n"; ps << "MESSAGE RESET,F"; - ps << head.level() << '.' << (k+model_id) << "\n"; + ps << head.level() << '.' << (k+model_id); } head.set_prescript(ps); }