Patch level : 12.0 1128
Files correlati : cg4.exe Commento: I registri con codici più cotri di 3 caratteri non stampavano i progressivi perchè la select non selezionava in modo corretto (rif. Cislaghi)
This commit is contained in:
parent
b2bfc92be9
commit
15d57438a8
@ -976,11 +976,12 @@ void TStampa_registri_app::calcola_progressivi()
|
||||
TString keyf;
|
||||
TString keyt;
|
||||
TString select("(CODTAB[11,15]==\"");
|
||||
TString codreg(_codreg);
|
||||
|
||||
select << _codreg << format("%02d", i) << "\")";
|
||||
|
||||
keyf <<_annoIVA << _codatt << 1 << _codreg << format("%02d", i);
|
||||
keyt << _annoIVA << _codatt << 2 << _codreg << format("%02d", i);
|
||||
codreg.rpad(3);
|
||||
select << codreg << format("%02d", i) << "\")";
|
||||
keyf <<_annoIVA << _codatt << 1 << codreg << format("%02d", i);
|
||||
keyt << _annoIVA << _codatt << 2 << codreg << format("%02d", i);
|
||||
from.put("CODTAB", keyf);
|
||||
to.put("CODTAB", keyt);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user