Corrected code to delete INF files. These contain invalid Index paths

Added TextBox and Property to Skip Procedures and speed-up debugging
Added TextBox and Property to Skip Processing Procedures and speed-up debugging
Removed duplicate entry
Added Code to Skip Processing Procedures and speed-up debugging
Changed code to use entire (16 Character) ROID to get the Multiple Return Values
This commit is contained in:
Rich
2011-01-12 21:28:33 +00:00
parent 37ffd45792
commit 54a306f114
6 changed files with 98 additions and 52 deletions

View File

@@ -348,13 +348,16 @@ namespace DataLoader
frmMain.pbProcMaximum = ds.Tables[0].Rows.Count;
frmMain.UpdateLabels(0, 0, 0);
dicSetfileEntries = new Dictionary<string, string>(); // used to check for duplicate SET file info - jsj 2/11/10
int i = 0;
foreach (DataRow dr in ds.Tables[0].Rows)
{
if (OKtoProcessDBF(dr)) // look for duplicate SET file info - jsj 2/11/10
if (++i > frmMain.SkipProcedures)
{
FrItm = MigrateProcedure(cn, dr, FrItm, pth, docver, convertProcedures, activeFormat);
if (FirstItm == null) FirstItm = FrItm;
if (OKtoProcessDBF(dr)) // look for duplicate SET file info - jsj 2/11/10
{
FrItm = MigrateProcedure(cn, dr, FrItm, pth, docver, convertProcedures, activeFormat);
if (FirstItm == null) FirstItm = FrItm;
}
}
}
da.Dispose();