Patch level :10.0

Files correlati     :ve0.exe
Ricompilazione Demo : [ ]
Commento            :risolto problema causato da campi analitici inesistenti in testata documento (da 5.0)


git-svn-id: svn://10.65.10.50/trunk@16588 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-05-07 15:23:12 +00:00
parent 9f9914a3ef
commit 447ebd29b5

View File

@ -1039,14 +1039,17 @@ void TRiga_documento::autosave(TSheet_field& f)
const short cms_start = doc_mask.cms_start();
const short cms_end = doc_mask.cms_end();
codcms.cut(0);
for (short j = cms_start; j <= cms_end; j++)
if (cms_start > 0 && cms_end >= cms_start)
{
const TEdit_field& fld = doc_mask.efield(j);
TString80 str = fld.get();
str.rpad(fld.size());
codcms << str;
for (short j = cms_start; j <= cms_end; j++)
{
const TEdit_field& fld = doc_mask.efield(j);
TString80 str = fld.get();
str.rpad(fld.size());
codcms << str;
}
codcms.rtrim();
}
codcms.rtrim();
}
if (codcms.full() && codiva.full())
{