Überprüfung WerteLookUpControl
This commit is contained in:
parent
b787f0bd87
commit
8fe526f5c0
@ -121,7 +121,14 @@ Public Class ClassPMWindream
|
||||
' 02.07. Änderung der Lock Methode, um eine Validierung auch zuzulassen, wenn das Recht "Datei ändern"
|
||||
' nicht gesetzt ist
|
||||
'oDocument.lock()
|
||||
|
||||
Try
|
||||
oDocument.LockFor(WMObjectEditModeIndexEdit)
|
||||
Catch ex As Exception
|
||||
LOGGER.Error(ex)
|
||||
frmValidator.idxerr_message = "Could not lock WMFile - Check Your rights and inform the admin!"
|
||||
Return False
|
||||
End Try
|
||||
|
||||
Dim i As Integer = 0
|
||||
Dim indexname As String
|
||||
|
||||
@ -3018,9 +3018,12 @@ Public Class frmValidator
|
||||
|
||||
|
||||
Else
|
||||
|
||||
input = lookup.SelectedValues.FirstOrDefault()
|
||||
|
||||
If IsNothing(input) Then
|
||||
oMissing = True
|
||||
oErrorMessage = "Could not get FirstOrDefault-Value of LookUpGrid!"
|
||||
Exit For
|
||||
End If
|
||||
'den aktuellen Wert in windream auslesen
|
||||
Dim wertWD
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user