SetControlValues_FromControl: fix connection id check
This commit is contained in:
parent
36dad58137
commit
fe92ae876e
@ -1546,10 +1546,10 @@ Public Class frmValidator
|
||||
Dim oControlname2Set = oRow.Item("NAME")
|
||||
LOGGER.Debug($"Workin on SetControLValue for {oControlname2Set} ...")
|
||||
|
||||
Dim oConnectionId = NotNull(oRow.Item("CONNECTION_ID"), 0)
|
||||
Dim oConnectionId = NotNull(oRow.Item("CONNECTION_ID"), -1)
|
||||
Dim oControlDataSql = NotNull(oRow.Item("SET_CONTROL_DATA"), String.Empty)
|
||||
|
||||
If oConnectionId = 0 Or oControlDataSql = String.Empty Then
|
||||
If oConnectionId = -1 Or oControlDataSql = String.Empty Then
|
||||
LOGGER.Debug($"Error: Check CoNN ID and SQL on NULL VALUES!")
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user