Added code to handle bad column mode information in the 16-bit Set.dbf file.
This commit is contained in:
parent
3fa8a7e9be
commit
4dcef78c4f
@ -71,8 +71,18 @@ namespace DataLoader
|
||||
string tstr1 = dr["Format"].ToString();
|
||||
if (tstr1 != null && tstr1 != "")
|
||||
{
|
||||
if (ci == null) ci = new ConfigInfo(null);
|
||||
ci.AddItem("Format", "Columns", tstr1);
|
||||
switch (tstr1)
|
||||
{
|
||||
case "1":
|
||||
case "2":
|
||||
case "3":
|
||||
case "4":
|
||||
if (ci == null) ci = new ConfigInfo(null);
|
||||
ci.AddItem("Format", "Columns", tstr1);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
// try to load in fix file data:
|
||||
FileInfo fi = new FileInfo(pth + @"\" + ProcFileName + @".fix");
|
||||
|
Loading…
x
Reference in New Issue
Block a user