This commit is contained in:
SchreiberM
2016-10-06 16:02:05 +02:00
parent bcb40ba6aa
commit a42ecaa30b
4 changed files with 514 additions and 57 deletions

View File

@@ -6,7 +6,10 @@ Public Class frmDiagrams
Try
Dim CHART_ENTITY_SQL As String = "SELECT * FROM TBPMO_CHART_ENTITY WHERE ENTITY_ID = " & CURRENT_FORM_ID
Dim CHART_ENTITY_DT As DataTable = ClassDatabase.Return_Datatable(CHART_ENTITY_SQL)
If CHART_ENTITY_DT.Rows.Count = 0 Then
MsgBox("No Charts configured for this entity!", MsgBoxStyle.Exclamation)
Exit Sub
End If
' Check if Bottom Chart containers are needed
Select Case CHART_ENTITY_DT.Rows.Count
Case 0