This commit is contained in:
@@ -318,6 +318,15 @@ namespace DataLoader
|
||||
}
|
||||
Database.LoggingInfo = false;
|
||||
bool success = true;
|
||||
if (cbFormatsOnly.Checked)
|
||||
{
|
||||
// ASSUMES No Formats/genmacs exist in database.
|
||||
ldr._FmtAllPath = @"c:\development\fmtall";
|
||||
ldr._GenmacAllPath = @"c:\development\genmacall";
|
||||
ldr.LoadAllFormats();
|
||||
MessageBox.Show("Formats Loaded");
|
||||
return;
|
||||
}
|
||||
// if purge data, purge it all & reload folders & security.
|
||||
if (cbPurgeData.Checked)
|
||||
{
|
||||
@@ -330,11 +339,6 @@ namespace DataLoader
|
||||
Status = "Loading Security";
|
||||
success = ldr.LoadSecurity(tbVesamPath.Text, tbVePromsPath.Text);
|
||||
}
|
||||
if (cbFormatsOnly.Checked)
|
||||
{
|
||||
MessageBox.Show("Formats Loaded");
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (success)
|
||||
{
|
||||
|
Reference in New Issue
Block a user