Save File Last Write UTC as Document.DTS
Eliminate unused variables Use settings for Format Load Output status of Formats being loaded Save File Last Write UTC as Document.DTS added History_OriginalFileName to DocumentConfig Use settings rather than local variables Only use the first 12 characters of a ROID for DROUsage Lookup
This commit is contained in:
@@ -294,10 +294,11 @@ namespace DataLoader
|
||||
if (FormatsOnly)
|
||||
{
|
||||
// ASSUMES No Formats/genmacs exist in database.
|
||||
MessageBox.Show(@"Format files are taken from c:\development\fmtall");
|
||||
ldr._FmtAllPath = @"c:\development\fmtall";
|
||||
ldr._GenmacAllPath = @"c:\development\genmacall";
|
||||
Format.UpdateFormats(@"c:\development\fmtall",@"c:\development\genmacall"); //ldr.LoadAllFormats();
|
||||
//MessageBox.Show(@"Format files are taken from c:\development\fmtall");
|
||||
//ldr._FmtAllPath = @"c:\development\fmtall";
|
||||
//ldr._GenmacAllPath = @"c:\development\genmacall";
|
||||
Format.UpdateFormats(MySettings.FormatFolder, MySettings.GenMacFolder);
|
||||
//Format.UpdateFormats(@"c:\development\fmtall",@"c:\development\genmacall"); //ldr.LoadAllFormats();
|
||||
MessageBox.Show("Formats Loaded");
|
||||
return;
|
||||
}
|
||||
@@ -579,6 +580,11 @@ namespace DataLoader
|
||||
LoadSettings();
|
||||
_Loading = false;
|
||||
MSWordToPDF.CloseWordWhenDone = false;
|
||||
Format.FormatLoaded += new FormatEvent(Format_FormatLoaded);
|
||||
}
|
||||
void Format_FormatLoaded(object sender, FormatEventArgs args)
|
||||
{
|
||||
MyInfo = args.Status;
|
||||
}
|
||||
private void btnFixTransitions_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -708,7 +714,6 @@ namespace DataLoader
|
||||
btnFixTransitions_Click(this, new System.EventArgs());
|
||||
mb.Append("Fix Transtions Complete");
|
||||
Status = "Backing up Phase 2 Data";
|
||||
mb.Append("dBase Conversion Complete");
|
||||
Backup("_" + MySettings.Phase2Suffix);
|
||||
mb.Append("Phase 2 Backup Complete");
|
||||
// Phase 3 - Convert to Change Manager Version
|
||||
|
Reference in New Issue
Block a user