From 23f30d23c31224a66060139ed17a37ce5a2d361d Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 10 Nov 2010 18:13:10 +0000 Subject: [PATCH] --- PROMS/DataLoader/Sections.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/PROMS/DataLoader/Sections.cs b/PROMS/DataLoader/Sections.cs index 089bf77a..150aa70b 100644 --- a/PROMS/DataLoader/Sections.cs +++ b/PROMS/DataLoader/Sections.cs @@ -79,7 +79,13 @@ namespace DataLoader SaveSectionDocument(fname, stpseq, SecType, ref Documentid, procitem.DisplayNumber + ":" + (Number == string.Empty ? Title : Number)); if (Documentid == 0) { - if (MissingDocument==null) MissingDocument = Document.MakeDocument("MISSING FILE IN CONVERSION", null, null, null,null); + if (MissingDocument == null) + { + if (ci == null) ci = new ConfigInfo(null); + ci.AddItem("Printing", "Length", string.Format("{0:0.0000}", 0.001)); + Byte[] tstbyte = System.Text.Encoding.Default.GetBytes(""); + MissingDocument = Document.MakeDocument("MISSING FILE IN CONVERSION", tstbyte, null, ci.ToString(), null); + } Documentid = MissingDocument.DocID; missingDocFile = true; }