Fix FinalIndex database query when no client is available
This commit is contained in:
parent
f7e9c881f1
commit
c0115d833d
@ -3978,12 +3978,7 @@ Public Class frmValidator
|
|||||||
ItemWorked = False
|
ItemWorked = False
|
||||||
End If
|
End If
|
||||||
If Not IsNothing(oSQLCommand) Then
|
If Not IsNothing(oSQLCommand) Then
|
||||||
Dim oDBResult = DatabaseFallback.GetScalarValueWithConnection(oSQLCommand, oConnectionID)
|
Dim oResultfromSQL As Object = DatabaseFallback.GetScalarValueWithConnection(oSQLCommand, oConnectionID)
|
||||||
Dim oResultfromSQL As Object = ""
|
|
||||||
If oDBResult.OK Then
|
|
||||||
oResultfromSQL = oDBResult.Scalar
|
|
||||||
End If
|
|
||||||
|
|
||||||
If Not IsNothing(oResultfromSQL) Then
|
If Not IsNothing(oResultfromSQL) Then
|
||||||
LOGGER.Debug($"oResultfromSQL is [{oResultfromSQL.ToString}]")
|
LOGGER.Debug($"oResultfromSQL is [{oResultfromSQL.ToString}]")
|
||||||
If IsDBNull(oResultfromSQL) Then
|
If IsDBNull(oResultfromSQL) Then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user