Fix unhandled exception when GetDocuments query fails
This commit is contained in:
parent
8dba67d3e1
commit
c74b91713d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user