Ü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"
|
' 02.07. Änderung der Lock Methode, um eine Validierung auch zuzulassen, wenn das Recht "Datei ändern"
|
||||||
' nicht gesetzt ist
|
' nicht gesetzt ist
|
||||||
'oDocument.lock()
|
'oDocument.lock()
|
||||||
|
|
||||||
|
Try
|
||||||
oDocument.LockFor(WMObjectEditModeIndexEdit)
|
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 i As Integer = 0
|
||||||
Dim indexname As String
|
Dim indexname As String
|
||||||
|
|||||||
@ -3018,9 +3018,12 @@ Public Class frmValidator
|
|||||||
|
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
input = lookup.SelectedValues.FirstOrDefault()
|
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
|
'den aktuellen Wert in windream auslesen
|
||||||
Dim wertWD
|
Dim wertWD
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user