Patch level : 4.0 832
Files correlati : sv1,exe Ricompilazione Demo : [ ] Commento : Corretta la generazione dei niomi dei sampi di svriep , poteva causare un errore di protezione git-svn-id: svn://10.65.10.50/trunk@15864 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b616e1b926
commit
5b2e68378b
@ -1690,7 +1690,7 @@ void TStampa_stat::put_column(TRectype& statrec, int col, const TSVriep_record&
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const real qta = rieprec.get_real(SVR_QUANTITA) * fc;
|
const real qta = rieprec.get_real(SVR_QUANTITA) * fc;
|
||||||
TString4 colname; colname.format("%s%d", SVS_QTACOLNAME, col);
|
TString4 colname; colname.format("%c%d", SVS_QTACOLNAME, col);
|
||||||
statrec.add(colname, qta);
|
statrec.add(colname, qta);
|
||||||
//statrec.put(SVS_TOTALERIGA,statrec.get_real(SVS_TOTALERIGA)+rieprec.get_real(SVR_QUANTITA)*fc);
|
//statrec.put(SVS_TOTALERIGA,statrec.get_real(SVS_TOTALERIGA)+rieprec.get_real(SVR_QUANTITA)*fc);
|
||||||
}
|
}
|
||||||
@ -1700,7 +1700,7 @@ void TStampa_stat::put_column(TRectype& statrec, int col, const TSVriep_record&
|
|||||||
if (_st_val || _st_uni)
|
if (_st_val || _st_uni)
|
||||||
{
|
{
|
||||||
const real val = rieprec.get_real(SVR_VALORE);
|
const real val = rieprec.get_real(SVR_VALORE);
|
||||||
TString4 colname; colname.format("%s%d", SVS_VALCOLNAME, col);
|
TString4 colname; colname.format("%c%d", SVS_VALCOLNAME, col);
|
||||||
statrec.add(colname, val);
|
statrec.add(colname, val);
|
||||||
//statrec.put(SVS_TOTALERIGA, statrec.get_real(SVS_TOTALERIGA)+rieprec.get_real(SVR_VALORE));
|
//statrec.put(SVS_TOTALERIGA, statrec.get_real(SVS_TOTALERIGA)+rieprec.get_real(SVR_VALORE));
|
||||||
}
|
}
|
||||||
@ -1804,7 +1804,7 @@ void TStampa_stat::invalid_columns(TRectype& statrec)
|
|||||||
TString16 colname;
|
TString16 colname;
|
||||||
for (int col = 0; col < SVS_NUMCOLONNE; col++)
|
for (int col = 0; col < SVS_NUMCOLONNE; col++)
|
||||||
{
|
{
|
||||||
colname.format("%s%d", SVS_QTACOLNAME, col);
|
colname.format("%C%d", SVS_QTACOLNAME, col);
|
||||||
statrec.zero(colname);
|
statrec.zero(colname);
|
||||||
}
|
}
|
||||||
//statrec.put(SVS_TOTALERIGA,0);
|
//statrec.put(SVS_TOTALERIGA,0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user