B2017-108 - Admin Tools should tell the user if no records are found for various admin functions including "Identify Disconnected Items", "Identify Non-Editible Items", "Identify Unused ROFsts and Figures", and "Identify unused RO Associations"

This commit is contained in:
Rich 2017-06-20 19:23:58 +00:00
parent 9c5b3273ba
commit ab7d3b4c66

View File

@ -381,6 +381,10 @@ namespace VEPROMS
txtResults.AppendText(Environment.NewLine); txtResults.AppendText(Environment.NewLine);
txtResults.AppendText("It is recommended you contact Volian to assist in resolving this condition"); txtResults.AppendText("It is recommended you contact Volian to assist in resolving this condition");
} }
else
{
txtResults.Text = "No Disconnected Records Found";// B2017-108 Always output results even if there isn't any
}
DateTime pEnd = DateTime.Now; DateTime pEnd = DateTime.Now;
txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm")); txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm"));
Application.DoEvents(); Application.DoEvents();
@ -449,6 +453,11 @@ namespace VEPROMS
txtResults.AppendText(Environment.NewLine); txtResults.AppendText(Environment.NewLine);
txtResults.AppendText(Environment.NewLine); txtResults.AppendText(Environment.NewLine);
} }
else
{
txtResults.Text = "No Unused Records Found";// B2017-108 Always output results even if there isn't any
}
DateTime pEnd = DateTime.Now; DateTime pEnd = DateTime.Now;
txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm")); txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm"));
Application.DoEvents(); Application.DoEvents();
@ -524,6 +533,10 @@ namespace VEPROMS
txtResults.AppendText(Environment.NewLine); txtResults.AppendText(Environment.NewLine);
txtResults.AppendText(Environment.NewLine); txtResults.AppendText(Environment.NewLine);
} }
else
{
txtResults.Text = "No unused RO Associations Found";// B2017-108 Always output results even if there isn't any
}
DateTime pEnd = DateTime.Now; DateTime pEnd = DateTime.Now;
txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm")); txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm"));
Application.DoEvents(); Application.DoEvents();
@ -596,6 +609,10 @@ namespace VEPROMS
txtResults.AppendText(Environment.NewLine); txtResults.AppendText(Environment.NewLine);
} }
} }
else
{
txtResults.Text = "No Non-Editable Items Found";// B2017-108 Always output results even if there isn't any
}
DateTime pEnd = DateTime.Now; DateTime pEnd = DateTime.Now;
txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm")); txtProcess.AppendText(pEnd.ToString("MM/dd/yyyy @ HH:mm"));
Application.DoEvents(); Application.DoEvents();