LookUpControl Width wider
This commit is contained in:
@@ -159,13 +159,19 @@ Public Class ClassPMWindream
|
||||
Case WMObjectVariableValueTypeInteger
|
||||
LOGGER.Debug("Typ des windream-Indexes: WMObjectVariableValueTypeInteger")
|
||||
If IsNumeric(value) = False Then
|
||||
frmValidator.idxerr_message = "Unerlaubte Eingabe in Numerisches Feld: " & value
|
||||
LOGGER.Debug("Achtung: Value " & value & " kann nicht in Zahl konvertiert werden!")
|
||||
oDocument.Save()
|
||||
oDocument.unlock()
|
||||
Return False
|
||||
If value = "String.Empty" Then
|
||||
convertValue = vbEmpty
|
||||
Else
|
||||
frmValidator.idxerr_message = "Unerlaubte Eingabe in Numerisches Feld: " & value
|
||||
LOGGER.Debug("Achtung: Value " & value & " kann nicht in Zahl konvertiert werden!")
|
||||
oDocument.Save()
|
||||
oDocument.unlock()
|
||||
Return False
|
||||
End If
|
||||
Else
|
||||
convertValue = CInt(value)
|
||||
End If
|
||||
convertValue = CInt(value)
|
||||
|
||||
_int = True
|
||||
Case WMObjectVariableValueTypeInteger64bit
|
||||
LOGGER.Debug("Typ des windream-Indexes: Integer64bit")
|
||||
@@ -289,7 +295,10 @@ Public Class ClassPMWindream
|
||||
'ReDim ArrName(0)
|
||||
'ArrName(0) = "Tournr"
|
||||
'oDocument.SetValues(ArrName, ArrValues)
|
||||
If _int = True Then
|
||||
If convertValue = "String.Empty" Or convertValue = vbEmpty Then
|
||||
LOGGER.Debug("Now Indexing simpleAttribute with vbEmpty ...")
|
||||
oDocument.SetVariableValue(aName, String.Empty)
|
||||
ElseIf _int = True Then
|
||||
oDocument.SetVariableValue(aName, CInt(convertValue))
|
||||
ElseIf _date = True Then
|
||||
oDocument.SetVariableValue(aName, CDate(convertValue))
|
||||
@@ -414,7 +423,13 @@ Public Class ClassPMWindream
|
||||
LOGGER.Debug("Wert für Index vor Indexierung: [{0}]", myArray)
|
||||
|
||||
'Jetzt die Nachindexierung für Vektor-Felder
|
||||
oDocument.SetVariableValue(aName, myArray)
|
||||
If myArray(0) = "String.Empty" Then
|
||||
LOGGER.Debug("Now Indexing vektor-attribute with vbEmpty ...")
|
||||
oDocument.SetVariableValue(aName, vbEmpty)
|
||||
Else
|
||||
oDocument.SetVariableValue(aName, myArray)
|
||||
End If
|
||||
|
||||
LOGGER.Debug("'SetVariableValue' für VEKTOR erfolgreich", False)
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user