diff --git a/PROMS/DataLoader/Steps.cs b/PROMS/DataLoader/Steps.cs index 828626ce..c656e19b 100644 --- a/PROMS/DataLoader/Steps.cs +++ b/PROMS/DataLoader/Steps.cs @@ -20,11 +20,11 @@ namespace DataLoader { private Item AddStep(OleDbConnection cn, string StepType, string Textm, string Recid, string stpseq, string structtype, Item FromItem, DateTime dts, string userid, bool conv_caret, string pth, DocVersion docver, FormatInfo fmt,Item parentItem, int frType, string seqRoTran) { - //if (ProcNumber + "|" + stpseq == "082-002CD|A=S") + //if (ProcNumber + "|" + stpseq == "STN FP-202|Q2S2") // Console.WriteLine("here"); Content content = null; Item item = null; - + frmMain.UpdateLabels(0, 0, 1); ConfigInfo ci = new ConfigInfo(null); string stptext = null; @@ -290,11 +290,10 @@ namespace DataLoader } } - // also see if a check-off needs added. if (Recid[0] != '0') { - recdirty = true; + recdirty = true; string chkindx = Recid[0].ToString(); //if (ci == null) ci = new ConfigInfo(null); ci.AddItem("Step", "CheckOffIndex", chkindx); @@ -522,7 +521,7 @@ namespace DataLoader itemc = AddStep(cn, drvs["Type"].ToString() , (drvs["textm"] == DBNull.Value ? drvs["Text"].ToString() : drvs["Textm"].ToString()) - , drv["Recid"].ToString(), drvs["CStep"].ToString() + drvs["CSequence"].ToString() + , drvs["Recid"].ToString(), drvs["CStep"].ToString() + drvs["CSequence"].ToString() , GetStructType(drvs["sequence"].ToString()), FrItem , GetDTS(drvs["Date"].ToString(), drvs["Time"].ToString()), drvs["Initials"].ToString(), conv_caret, pth, docver, fmt, itemp, FrType , drvs["Step"].ToString() + drvs["CSequence"].ToString());