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:
parent
7466c1cd02
commit
1cfa311a20
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user