Final correcting of indexing
This commit is contained in:
@ -1720,11 +1720,11 @@ namespace CobXmlSupport
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//obs under development
|
//obs under development
|
||||||
if (tmpQfh.qualCobRow.FieldDef != "")
|
//if (tmpQfh.qualCobRow.FieldDef != "")
|
||||||
{
|
//{
|
||||||
if (tmpQfh.qualCobRow.FieldName.ToUpper().Contains("_VALUE")) { }
|
if (tmpQfh.qualCobRow.FieldName.ToUpper().Contains("_VALUE")) { }
|
||||||
else {
|
else {
|
||||||
loopTyp = tmpQfh.qualCobRow.isOccurs && tmpQfh.qualCobRow.FieldDef != "";
|
loopTyp = tmpQfh.qualCobRow.isOccurs ;//&& tmpQfh.qualCobRow.FieldDef == "";
|
||||||
fromToMoves.CodeShower.Text += " IF " + tmpQfh.qualCobRow.CountIn.ToString() + "\r\n" + (string)(loopTyp ? tmpQfh.indexRedText : tmpQfh.indexText) + " > 0 \r\n";
|
fromToMoves.CodeShower.Text += " IF " + tmpQfh.qualCobRow.CountIn.ToString() + "\r\n" + (string)(loopTyp ? tmpQfh.indexRedText : tmpQfh.indexText) + " > 0 \r\n";
|
||||||
}
|
}
|
||||||
fromToMoves.CodeShower.Text += " MOVE " + tmpQfh.ToString();
|
fromToMoves.CodeShower.Text += " MOVE " + tmpQfh.ToString();
|
||||||
@ -1739,7 +1739,7 @@ namespace CobXmlSupport
|
|||||||
fromToMoves.CodeShower.Text += " MOVE 0 TO " + tmpQfh.qualCobRow.CountIn.ToString().Replace(S.ettingPrefix, S.ettingExpPrefix) + "\r\n" + (string)(loopTyp ? tmpQfh.indexRedText : tmpQfh.indexText);
|
fromToMoves.CodeShower.Text += " MOVE 0 TO " + tmpQfh.qualCobRow.CountIn.ToString().Replace(S.ettingPrefix, S.ettingExpPrefix) + "\r\n" + (string)(loopTyp ? tmpQfh.indexRedText : tmpQfh.indexText);
|
||||||
fromToMoves.CodeShower.Text += " END-IF\r\n";
|
fromToMoves.CodeShower.Text += " END-IF\r\n";
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
indSt.handleStatus(null);
|
indSt.handleStatus(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user