Patch level :1.7 aga

Files correlati     :si0.exe
Ricompilazione Demo : [ ]
Commento            :messo un if (anno !=0)


git-svn-id: svn://10.65.10.50/trunk@10752 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-01-17 15:00:22 +00:00
parent a970253514
commit 68257a4ab2

View File

@ -157,7 +157,8 @@ void TListe_application::set_limits()
}
if (filter != "(")
filter << "&&";
filter << format("(ANNO==%d)", _select_mask->get_int(F_ANNO));
if (_select_mask->get_int(F_ANNO) != 0)
filter << format("(ANNO==%d)", _select_mask->get_int(F_ANNO));
filter << format("&&(PROVV==\"%c\")", _select_mask->get(F_PROVV)[0]);
TSheet_field & s = _select_mask->sfield(F_SHEETNUMS);