MS18.10.2017
This commit is contained in:
@@ -56,10 +56,11 @@
|
||||
ElseIf dt.Rows.Count = 0 Then
|
||||
Return Nothing
|
||||
Else
|
||||
Throw New Exception("Record" & RecordId & " is not unique")
|
||||
MsgBox("Unexpected behaviour in IsRecordLocked: ", MsgBoxStyle.Information)
|
||||
Return Nothing
|
||||
End If
|
||||
Catch ex As Exception
|
||||
MsgBox("Error in IsRecordInWork: " + vbNewLine + ex.Message, MsgBoxStyle.Critical)
|
||||
MsgBox("Error in IsRecordLocked: " + vbNewLine + ex.Message, MsgBoxStyle.Critical)
|
||||
Return Nothing
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Reference in New Issue
Block a user