Corretti errori MI1155 e MI0215
git-svn-id: svn://10.65.10.50/trunk@884 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e503ca9bdf
commit
47733f66fa
@ -1348,11 +1348,19 @@ void TMastrini_application::ricerca_dati_ditta()
|
||||
_comulc=_unloc->curr().get(ULC_COMULC);
|
||||
|
||||
_comuni->setkey(1);
|
||||
_comuni->curr().zero();
|
||||
_comuni->curr().put(COM_COM,_comulc);
|
||||
_comuni->zero();
|
||||
_comuni->put(COM_COM,_comulc);
|
||||
_comuni->read();
|
||||
_com=_comuni->curr().get(COM_DENCOM);
|
||||
_prov=_comuni->curr().get(COM_PROVCOM);
|
||||
if (_comuni->good())
|
||||
{
|
||||
_com=_comuni->get(COM_DENCOM);
|
||||
_prov=_comuni->get(COM_PROVCOM);
|
||||
}
|
||||
else
|
||||
{
|
||||
_com="";
|
||||
_prov="";
|
||||
}
|
||||
}
|
||||
|
||||
// Crea l'intestazione per la stampa a 132 e a 198 caratteri
|
||||
@ -1726,6 +1734,8 @@ void TMastrini_application::ricerca_clifo()
|
||||
paiv = clifo.get(CLI_PAIV);
|
||||
cofi = clifo.get(CLI_COFI);
|
||||
indcf = clifo.get(CLI_INDCF);
|
||||
indcf.trim();
|
||||
indcf << " " << clifo.get(CLI_CIVCF);
|
||||
capcf = clifo.get(CLI_CAPCF);
|
||||
ptel = clifo.get(CLI_PTEL);
|
||||
tel = clifo.get(CLI_TEL);
|
||||
@ -1733,12 +1743,20 @@ void TMastrini_application::ricerca_clifo()
|
||||
comcf = clifo.get(CLI_COMCF);
|
||||
|
||||
_comuni->setkey(1);
|
||||
_comuni->curr().zero();
|
||||
_comuni->curr().put(COM_STATO, statocf);
|
||||
_comuni->curr().put(COM_COM, comcf);
|
||||
_comuni->zero();
|
||||
_comuni->put(COM_STATO, statocf);
|
||||
_comuni->put(COM_COM, comcf);
|
||||
_comuni->read();
|
||||
dencom = _comuni->curr().get(COM_DENCOM);
|
||||
provcom = _comuni->curr().get(COM_PROVCOM);
|
||||
if (_comuni->good())
|
||||
{
|
||||
dencom = _comuni->get(COM_DENCOM);
|
||||
provcom = _comuni->get(COM_PROVCOM);
|
||||
}
|
||||
else
|
||||
{
|
||||
dencom="";
|
||||
provcom="";
|
||||
}
|
||||
|
||||
pconti.setkey(1);
|
||||
pconti.zero();
|
||||
|
Loading…
x
Reference in New Issue
Block a user