Corretta lettura dalla tabella ESC.

git-svn-id: svn://10.65.10.50/trunk@3757 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1996-10-11 14:16:22 +00:00
parent 7466c1cd02
commit 1cfa311a20

View File

@ -408,7 +408,7 @@ int CG1600_application::date2esc(const TDate& d, int* prevesc)
void CG1600_application::esc2date(const int anno, TDate& d1, TDate& d2)
{
_tabesc->put("CODTAB",anno);
_tabesc->put("CODTAB",format("%04d",anno));
if (_tabesc->read() == NOERR)
{
d1 = _tabesc->get_date("D0");