diff --git a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs index a0da7450..f7df0664 100644 --- a/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs +++ b/PROMS/VEPROMS User Interface/DlgPrintProcedure.cs @@ -824,7 +824,9 @@ namespace VEPROMS else { // B2016-249 Output Procedure to folder associated with Parent Child - _MultiunitPdfLocation = cbxMultiunitPdfLocation.SelectedItem.ToString(); + // B2017-009 If the selected item is null don't add a folder + if(cbxMultiunitPdfLocation.SelectedItem != null) + _MultiunitPdfLocation = cbxMultiunitPdfLocation.SelectedItem.ToString(); this.Cursor = Cursors.WaitCursor; CreatePDF(); this.Cursor = Cursors.Default;