MS
This commit is contained in:
@@ -5801,7 +5801,7 @@ Public Class frmConstructor_Main
|
|||||||
ENTITY_STRING = ClassDatabase.Execute_Scalar(sql)
|
ENTITY_STRING = ClassDatabase.Execute_Scalar(sql)
|
||||||
sql = String.Format("select count(guid) from TBPMO_CONTROL_ENTITY_LINK where ORIGIN_CTRL_ID in (SELECT GUID FROM TBPMO_CONTROL where FORM_ID = {0}) " &
|
sql = String.Format("select count(guid) from TBPMO_CONTROL_ENTITY_LINK where ORIGIN_CTRL_ID in (SELECT GUID FROM TBPMO_CONTROL where FORM_ID = {0}) " &
|
||||||
"AND LINKED_CTRL_ID IN (SELECT GUID FROM TBPMO_CONTROL where FORM_ID = {1})", ENTITY_ID, node_tag)
|
"AND LINKED_CTRL_ID IN (SELECT GUID FROM TBPMO_CONTROL where FORM_ID = {1})", ENTITY_ID, node_tag)
|
||||||
Dim count = ClassDatabase.Execute_Scalar(sql)
|
Dim count = ClassDatabase.Execute_Scalar(sql, True)
|
||||||
If Not IsNothing(count) Then
|
If Not IsNothing(count) Then
|
||||||
If count = 0 Then
|
If count = 0 Then
|
||||||
MsgBox("No configuration for changing entity-link!" & vbNewLine & "Please inform Your ADDi-Admin", MsgBoxStyle.Exclamation)
|
MsgBox("No configuration for changing entity-link!" & vbNewLine & "Please inform Your ADDi-Admin", MsgBoxStyle.Exclamation)
|
||||||
@@ -5816,6 +5816,8 @@ Public Class frmConstructor_Main
|
|||||||
Dim result As MsgBoxResult
|
Dim result As MsgBoxResult
|
||||||
result = MessageBox.Show(msg, "Confirmation:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
result = MessageBox.Show(msg, "Confirmation:", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
|
||||||
If result = MsgBoxResult.Yes Then
|
If result = MsgBoxResult.Yes Then
|
||||||
|
Save_Grid_Layout()
|
||||||
|
|
||||||
For Each _RECORD As String In e.Data.GetData(GetType(String()))
|
For Each _RECORD As String In e.Data.GetData(GetType(String()))
|
||||||
Dim upd = String.Format("UPDATE TBPMO_RECORD SET FORM_ID = {0} where GUID = {1}", node_tag, _RECORD)
|
Dim upd = String.Format("UPDATE TBPMO_RECORD SET FORM_ID = {0} where GUID = {1}", node_tag, _RECORD)
|
||||||
If ClassDatabase.Execute_non_Query(upd) = True Then
|
If ClassDatabase.Execute_non_Query(upd) = True Then
|
||||||
|
|||||||
Reference in New Issue
Block a user