Corretta generazione statistiche in modo da non farsi trarre in inganno da Ragioni Sociali contenenti caratteri di controllo delle TPrintApp (#,%,$)
git-svn-id: svn://10.65.10.50/branches/R_10_00@22680 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6dfd0fd42b
commit
db131f585a
@ -892,8 +892,12 @@ void TStampa_stat::set_descr(int& row)
|
|||||||
|
|
||||||
r << strec.get(SVS_CODICE).mid(lencode);
|
r << strec.get(SVS_CODICE).mid(lencode);
|
||||||
descr = strec.get(SVS_DESCR);
|
descr = strec.get(SVS_DESCR);
|
||||||
if (descr.not_empty())
|
if (descr.full())
|
||||||
r << "@23g" << descr.get(0);
|
{
|
||||||
|
TString80 ragsoc = descr.get(0);
|
||||||
|
ragsoc.strip("%#$");
|
||||||
|
r << "@23g" << ragsoc;
|
||||||
|
}
|
||||||
set_row_atpos('R',++row,(const char *)r,_indent[level]);
|
set_row_atpos('R',++row,(const char *)r,_indent[level]);
|
||||||
|
|
||||||
// Seconda riga eventuale...
|
// Seconda riga eventuale...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user