corretta autosave
git-svn-id: svn://10.65.10.50/trunk@914 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
83f1dc7076
commit
9c46904f42
@ -281,7 +281,7 @@ int CG5300_App::rewrite(const TMask& m)
|
||||
lia.put("CODTAB", year);
|
||||
was = lia.read() == NOERR;
|
||||
if (!was) lia.zero();
|
||||
m.autosave();
|
||||
m.autosave(get_relation());
|
||||
if (err == NOERR) err = (was ? lia.rewrite() : lia.write());
|
||||
if (err == NOERR && year == _yearliq)
|
||||
{
|
||||
@ -369,4 +369,4 @@ int cg5300(int argc, char* argv[])
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user