Fix unhandled exception when GetDocuments query fails

This commit is contained in:
Jonathan Jenne 2022-04-21 15:52:49 +02:00
parent 8dba67d3e1
commit c74b91713d

View File

@ -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