From 0acf7cb14aa065e22de34de5961b92c9e7ea306e Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 6 Apr 2011 14:21:34 +0000 Subject: [PATCH] --- PROMS/DataLoader/Procedures.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/DataLoader/Procedures.cs b/PROMS/DataLoader/Procedures.cs index c4b21696..0ebf55e2 100644 --- a/PROMS/DataLoader/Procedures.cs +++ b/PROMS/DataLoader/Procedures.cs @@ -136,7 +136,9 @@ namespace DataLoader else { nm = sLine.Substring(0, indx); - vl = sLine.Substring(indx + 1, sLine.Length - indx - 1); + string tmpPsi = sLine.Substring(indx + 1, sLine.Length - indx - 1); + if (tmpPsi.Length > 0) tmpPsi=TextConvert.ConvertText(tmpPsi); + vl = tmpPsi; } ci.AddItem("PSI", nm, vl == null ? null : vl); }