Added new property "Process Only In Location" to limit the datasets that are converted when "Only Process this Procedure Set" is false.
Save the RevDate from the SET.DBF file.
This commit is contained in:
@@ -545,6 +545,8 @@ namespace DataLoader
|
||||
MySettings.VESamFile = Properties.Settings.Default.VeSamFilename;
|
||||
if (Properties.Settings.Default["DbfPathname"].ToString() != "")
|
||||
MySettings.ProcedureSetPath = Properties.Settings.Default.DbfPathname;
|
||||
if (Properties.Settings.Default["ProcessOnlyInLocation"].ToString() != "")
|
||||
MySettings.ProcessOnlyInLocation = Properties.Settings.Default.ProcessOnlyInLocation;
|
||||
if (Properties.Settings.Default["BackupFileName"].ToString() != "")
|
||||
MySettings.BackupFileName = Properties.Settings.Default.BackupFileName;
|
||||
if (Properties.Settings.Default["BackupFolder"].ToString() != "")
|
||||
@@ -607,6 +609,7 @@ namespace DataLoader
|
||||
Properties.Settings.Default.VePromsFilename = MySettings.VEPromsPath;
|
||||
Properties.Settings.Default.VeSamFilename = MySettings.VESamFile;
|
||||
Properties.Settings.Default.DbfPathname = MySettings.ProcedureSetPath;
|
||||
Properties.Settings.Default.ProcessOnlyInLocation = MySettings.ProcessOnlyInLocation;
|
||||
Properties.Settings.Default.BackupFileName = MySettings.BackupFileName;
|
||||
Properties.Settings.Default.BackupFolder = MySettings.BackupFolder;
|
||||
Properties.Settings.Default.LogFileLoc = MySettings.LogFilePath;
|
||||
@@ -913,13 +916,13 @@ namespace DataLoader
|
||||
ProcessTime = DateTime.Now;
|
||||
if (LoadApprovedData())
|
||||
{
|
||||
if (MessageBox.Show("Backup Database?", "Backup", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
Status = "Backing up Data";
|
||||
Backup("");
|
||||
MyInfo = "Backup Complete";
|
||||
}
|
||||
Status = "Processing Complete";
|
||||
if (MessageBox.Show("Backup Database?", "Backup", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
Status = "Backing up Data";
|
||||
Backup("");
|
||||
MyInfo = "Backup Complete";
|
||||
}
|
||||
Status = "Processing Complete";
|
||||
}
|
||||
else
|
||||
Status = "Loading 16 Bit Approval Data Failed";
|
||||
|
Reference in New Issue
Block a user