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:
		
							parent
							
								
									6133c9913f
								
							
						
					
					
						commit
						e16e4d62c3
					
				@ -533,10 +533,12 @@ if (d.eod() > 0L)
 | 
				
			|||||||
if (_codditta == 0)
 | 
					if (_codditta == 0)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  TSystemisamfile f(LF_FORM);
 | 
					  TSystemisamfile f(LF_FORM);
 | 
				
			||||||
 | 
					  TDir d;
 | 
				
			||||||
  TFilename lf;
 | 
					  TFilename lf;
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
 | 
					  d.get(LF_FORM);
 | 
				
			||||||
  lf.format("%sstd/lf0054.txt", __ptprf);
 | 
					  lf.format("%sstd/lf0054.txt", __ptprf);
 | 
				
			||||||
  if (fexist(lf))
 | 
					  if (fexist(lf) && fexist(d.filename()))
 | 
				
			||||||
    f.load(lf);
 | 
					    f.load(lf);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user