Patch level : 2.0 512
Files correlati : cg6.exe Ricompilazione Demo : [ ] Commento : EP20043 La lista controllo movimenti errati si blocca in uscita dal programma. Ricorretto errore a NO. git-svn-id: svn://10.65.10.50/trunk@11286 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ac2cb46122
commit
5d08c914e1
@ -286,13 +286,14 @@ bool TRic_ListaMov::user_create()
|
||||
_trmov = new TIsamtempfile(LF_RMOV, tmprmov, 0);
|
||||
|
||||
_is_iva = FALSE;
|
||||
TFilename tmp = tmprmoviva.mid(1);
|
||||
tmp << ".dbf";
|
||||
TFilename tmp = tmprmoviva.mid(1); tmp.ext("dbf");
|
||||
if (tmp.exist())
|
||||
{
|
||||
_tiva = new TIsamtempfile(LF_RMOVIVA, tmprmoviva, 0);
|
||||
_is_iva = TRUE;
|
||||
}
|
||||
else
|
||||
_tiva = NULL;
|
||||
|
||||
_rel = new TRelation(_tmov);
|
||||
_rel->add(_trmov,"NUMREG=NUMREG",1,0,0,FALSE);
|
||||
@ -3114,10 +3115,12 @@ bool TRic_ListaMov::user_destroy()
|
||||
delete _giornale;
|
||||
delete _trasfer;
|
||||
delete _rel;
|
||||
delete _tmov;
|
||||
delete _trmov;
|
||||
if (_is_iva)
|
||||
delete _tiva;
|
||||
|
||||
// Sono gia' distrutti in quanto parte di _rel
|
||||
// delete _tmov;
|
||||
// delete _trmov;
|
||||
// if (_is_iva) delete _tiva;
|
||||
|
||||
delete _caus;
|
||||
delete _ditte;
|
||||
delete _clifo;
|
||||
|
@ -1216,7 +1216,7 @@ bool TPartita::remove() const
|
||||
}
|
||||
|
||||
|
||||
// Crea un nuova riga partite
|
||||
// Crea una nuova riga partite
|
||||
TRiga_partite& TPartita::new_row(int r)
|
||||
{
|
||||
if (r <= 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user