Corretto caricamento file form.dbf. Ora lo fa solo se esiste il file

.dbf fisicamente.


git-svn-id: svn://10.65.10.50/trunk@1650 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1995-07-27 11:00:15 +00:00
parent 6133c9913f
commit e16e4d62c3

View File

@ -533,10 +533,12 @@ if (d.eod() > 0L)
if (_codditta == 0)
{
TSystemisamfile f(LF_FORM);
TDir d;
TFilename lf;
d.get(LF_FORM);
lf.format("%sstd/lf0054.txt", __ptprf);
if (fexist(lf))
if (fexist(lf) && fexist(d.filename()))
f.load(lf);
}
}