This commit is contained in:
Kathy Ruffing 2012-06-04 12:39:26 +00:00
parent 869663b79c
commit bd0c8e2157

View File

@ -93,7 +93,11 @@ namespace DataLoader
if (stpseq != null && stpseq.Substring(1, 1) == "0" && stpseq.Substring(5, 1) != " ")
{
if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Section", "ColumnMode", stpseq.Substring(5, 1));
char cmchar = stpseq.Substring(5, 1)[0];
if (cmchar > '2')
ci.AddItem("Section", "ColumnMode", "1");
else
ci.AddItem("Section", "ColumnMode", stpseq.Substring(5, 1));
}
// find rtf file (or use the library document temp file) & read it into the field