diff --git a/ps/pd6411200.cpp b/ps/pd6411200.cpp index a850ce83d..2539fc114 100755 --- a/ps/pd6411200.cpp +++ b/ps/pd6411200.cpp @@ -66,6 +66,7 @@ void TAggiungi_listini_haba_app::check_doc() //quante sono le righe del documento for(int i = 1; ; i++) { + listini.zero(); TString4 riga; riga.format("%d,%d", LF_RIGHEDOC, i); if(!ini.set_paragraph(riga)) @@ -90,7 +91,7 @@ void TAggiungi_listini_haba_app::check_doc() { listini.put("CODTAB", codtab); listini.put("R0", importo); - listini.rewrite_write(); + listini.write(); } } }