diff --git a/ve/ve7701.cpp b/ve/ve7701.cpp index 0e580727d..835db4faa 100755 --- a/ve/ve7701.cpp +++ b/ve/ve7701.cpp @@ -381,7 +381,11 @@ bool TGalileo_articoli::trasferisci_costi(const TString & ditta, const TString & TRectype& rec_anamag = anamag.curr(); TGalileo_iterator pi(this); TString80 codart; + TString msg; msg.format("%ld", recordset().items()); + query << " " << msg; + + message_box(query); anamag.open_ex(_excllock); while (++pi) { @@ -393,12 +397,12 @@ bool TGalileo_articoli::trasferisci_costi(const TString & ditta, const TString & TString msg; msg.format("Codice $s", (const char *) codart); - log(msg, 0); + message_box(msg); if (good) { TString msg; msg.format("Aggiorno al costo %s", (const char *) get_str("M2CMD")); - log(msg, 0); + message_box(msg); anamag.put(ANAMAG_ULTCOS1, get_str("M2CMD")); return test_rewrite(anamag); } @@ -411,6 +415,7 @@ bool TGalileo_articoli::aggiorna_record(TIsamfile& file, const TString_array& li { TRectype& rec = file.curr(); TString campo_dest, campo_orig, valore, str; + FOR_EACH_ARRAY_ROW(lista_campi,i,row) { row->get(0, campo_dest);