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
|
If oDocuments Is Nothing Then
|
||||||
FormHelper.ShowWarning("There was an error in the Query.")
|
FormHelper.ShowWarning("There was an error in the Query.")
|
||||||
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
GridControlDocuments.DataSource = oDocuments
|
GridControlDocuments.DataSource = oDocuments
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user