Correzioni per XI
git-svn-id: svn://10.65.10.50/trunk@2836 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
5f2d283e22
commit
2877d2284f
@ -106,7 +106,7 @@ bool BA3200_application::preprocess_page(int , int)
|
|||||||
TFieldref fld(fn, 0);
|
TFieldref fld(fn, 0);
|
||||||
TString& s = (TString &) _string_roman[i];
|
TString& s = (TString &) _string_roman[i];
|
||||||
|
|
||||||
const int n = atoi(fld.read(_rel));
|
const int n = atoi(fld.read(*_rel));
|
||||||
s = itor(n);
|
s = itor(n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -228,7 +228,7 @@ int BA3500_application::rewrite(const TMask& m)
|
|||||||
const int anno = m.get_int(F_ANNO);
|
const int anno = m.get_int(F_ANNO);
|
||||||
const TString cod_lib(m.get(F_CODLIB));
|
const TString cod_lib(m.get(F_CODLIB));
|
||||||
|
|
||||||
m.autosave(_rel);
|
m.autosave(*_rel);
|
||||||
|
|
||||||
TSheet_field& cs = (TSheet_field&)m.field(F_SHEET_LBU);
|
TSheet_field& cs = (TSheet_field&)m.field(F_SHEET_LBU);
|
||||||
|
|
||||||
@ -273,7 +273,7 @@ int BA3500_application::write(const TMask& m)
|
|||||||
const int anno = m.get_int(F_ANNO);
|
const int anno = m.get_int(F_ANNO);
|
||||||
const TString cod_lib(m.get(F_CODLIB));
|
const TString cod_lib(m.get(F_CODLIB));
|
||||||
|
|
||||||
m.autosave(_rel);
|
m.autosave(*_rel);
|
||||||
|
|
||||||
TSheet_field& cs = (TSheet_field&)m.field(F_SHEET_LBU);
|
TSheet_field& cs = (TSheet_field&)m.field(F_SHEET_LBU);
|
||||||
|
|
||||||
@ -361,7 +361,7 @@ int BA3500_application::cancella(long items)
|
|||||||
***********/
|
***********/
|
||||||
int BA3500_application::read(TMask& m)
|
int BA3500_application::read(TMask& m)
|
||||||
{
|
{
|
||||||
m.autoload(_rel);
|
m.autoload(*_rel);
|
||||||
fill_sheet(m);
|
fill_sheet(m);
|
||||||
|
|
||||||
return NOERR;
|
return NOERR;
|
||||||
|
@ -110,7 +110,7 @@ bool BA3700_application::user_destroy()
|
|||||||
|
|
||||||
int BA3700_application::read(TMask& m)
|
int BA3700_application::read(TMask& m)
|
||||||
{
|
{
|
||||||
m.autoload(_rel);
|
m.autoload(*_rel);
|
||||||
|
|
||||||
TString code(m.get(F_CODICE));
|
TString code(m.get(F_CODICE));
|
||||||
int ir = m.get_int(F_INT_RATE); if (ir == 0) ir = -1;
|
int ir = m.get_int(F_INT_RATE); if (ir == 0) ir = -1;
|
||||||
@ -487,7 +487,7 @@ int BA3700_application::rewrite(const TMask& m)
|
|||||||
TTable& tab_rpg = (TTable&)_rel->lfile(-ALIAS);
|
TTable& tab_rpg = (TTable&)_rel->lfile(-ALIAS);
|
||||||
const int err = _pag->rewrite(tab_rpg);
|
const int err = _pag->rewrite(tab_rpg);
|
||||||
if (err != NOERR) return err;
|
if (err != NOERR) return err;
|
||||||
m.autosave(_rel);
|
m.autosave(*_rel);
|
||||||
tab_cpg.put("B1", _pag->rate_differenziate() ? "X" : "");
|
tab_cpg.put("B1", _pag->rate_differenziate() ? "X" : "");
|
||||||
return _rel->lfile().rewrite();
|
return _rel->lfile().rewrite();
|
||||||
}
|
}
|
||||||
@ -498,7 +498,7 @@ int BA3700_application::write(const TMask& m)
|
|||||||
TTable& tab_rpg = (TTable&)_rel->lfile(-ALIAS);
|
TTable& tab_rpg = (TTable&)_rel->lfile(-ALIAS);
|
||||||
const int err = _pag->write(tab_rpg);
|
const int err = _pag->write(tab_rpg);
|
||||||
if (err != NOERR) return err;
|
if (err != NOERR) return err;
|
||||||
m.autosave(_rel);
|
m.autosave(*_rel);
|
||||||
tab_cpg.put("B1", _pag->rate_differenziate() ? "X" : "");
|
tab_cpg.put("B1", _pag->rate_differenziate() ? "X" : "");
|
||||||
return _rel->lfile().write();
|
return _rel->lfile().write();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user