Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Stampa etichette per categorie: corretto funzionamento famiglie (sbagliava il comune nei nuclei famigliari) git-svn-id: svn://10.65.10.50/trunk@7138 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f4561cc153
commit
5d7df3b5f8
@ -648,7 +648,7 @@ bool TStampaPerCategorie::preprocess_page(int file, int counter)
|
|||||||
const int err = _sfamiglia->read(key);
|
const int err = _sfamiglia->read(key);
|
||||||
if (err == NOERR)
|
if (err == NOERR)
|
||||||
{
|
{
|
||||||
current_cursor()->save_status();
|
TRecnotype pos = current_cursor()->pos();
|
||||||
// controllo se qualcuno che lo precede nella famiglia rientra
|
// controllo se qualcuno che lo precede nella famiglia rientra
|
||||||
// nella selezione, in questo caso ho gia' stampato la famiglia
|
// nella selezione, in questo caso ho gia' stampato la famiglia
|
||||||
// che viene stampata quando incontro il primo componente che
|
// che viene stampata quando incontro il primo componente che
|
||||||
@ -729,7 +729,7 @@ bool TStampaPerCategorie::preprocess_page(int file, int counter)
|
|||||||
_cognome_nome = cognome;
|
_cognome_nome = cognome;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
current_cursor()->restore_status();
|
(*current_cursor()) = pos;
|
||||||
if (!dastampare)
|
if (!dastampare)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
@ -897,7 +897,7 @@ bool TStampaPerCategorie::set_print(int m)
|
|||||||
_catnondon.add((const char*) catnqui);
|
_catnondon.add((const char*) catnqui);
|
||||||
if (catnses.not_empty() && catnses.ok())
|
if (catnses.not_empty() && catnses.ok())
|
||||||
_catnondon.add((const char*) catnses);
|
_catnondon.add((const char*) catnses);
|
||||||
current_cursor()->set_filterfunction (filter_func_percat);
|
current_cursor()->set_filterfunction (filter_func_percat, TRUE);
|
||||||
reset_print();
|
reset_print();
|
||||||
printer().footerlen(0);
|
printer().footerlen(0);
|
||||||
crea_intestazione();
|
crea_intestazione();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user