Fix unhandled exception when GetDocuments query fails
This commit is contained in:
@@ -215,6 +215,7 @@ Public Class frmExportMain
|
||||
|
||||
If oDocuments Is Nothing Then
|
||||
FormHelper.ShowWarning("There was an error in the Query.")
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
GridControlDocuments.DataSource = oDocuments
|
||||
|
||||
Reference in New Issue
Block a user