Patch level :10

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
sistemato errore base di funzionamento del programma in presenza di campi con intestazione piu' lunga di 40 caratteri


git-svn-id: svn://10.65.10.50/branches/R_10_00@22293 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2011-06-21 09:25:50 +00:00
parent e0c5fdff9e
commit 84493faa74

View File

@ -2076,7 +2076,7 @@ const TString& TStampa_stat::partkey_name(const char *lev_code, int row, TString
park=TR("cliente ");
break;
case CHR_CLIFIELD: // campo anagrafica
park=_des_fld.row(row);
park=EMPTY_STRING;
break;
case CHR_FOR: // fornitore
park=TR("fornitore ");
@ -2201,6 +2201,8 @@ const TString& TStampa_stat::get_part(TString & lev_code, TSVriep_record &riepre
key.format("%c|%ld", rieprec.get_char(SVR_TIPOCF),rieprec.get_long(SVR_CODCF));
park = cache().get(LF_CLIFO, key, fld);
if (park.len() > 40)
park.rtrim(40);
}
break;
case CHR_AGENTE: // agente