MS
This commit is contained in:
parent
b6b0858888
commit
f36b591bd1
@ -858,7 +858,7 @@ Public Class frmIndex
|
||||
|
||||
Dim oSplitArray = Split(oIndexValue, ClassConstants.VECTORSEPARATOR)
|
||||
Dim oListofString As New List(Of String)
|
||||
If oSplitArray.Count = 0 Then
|
||||
If oSplitArray.Length = 0 Then
|
||||
oListofString.Add(oIndexValue)
|
||||
Else
|
||||
For Each oStr In oSplitArray
|
||||
@ -866,20 +866,17 @@ Public Class frmIndex
|
||||
Next
|
||||
End If
|
||||
|
||||
If oSplitArray.Length <= 1 Then
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndex(CURRENT_NEWFILENAME, oIndexName, oIndexValue, CURR_DOKART_OBJECTTYPE)
|
||||
Else
|
||||
For Each oStr In oSplitArray
|
||||
oListofString.Add(oStr)
|
||||
Next
|
||||
If oOverwrite = False And oExistingItems.Count > 0 Then
|
||||
oListofString = oExistingItems.Concat(oListofString).ToList()
|
||||
End If
|
||||
If oPreventMultipleValues = True Then
|
||||
oListofString = oListofString.Distinct().ToList()
|
||||
End If
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndexLoS(CURRENT_NEWFILENAME, oIndexName, oListofString, CURR_DOKART_OBJECTTYPE)
|
||||
'If oSplitArray.Length <= 1 Then
|
||||
' indexierung_erfolgreich = WINDREAM.SetFileIndex(CURRENT_NEWFILENAME, oIndexName, oIndexValue, CURR_DOKART_OBJECTTYPE)
|
||||
'Else
|
||||
If oOverwrite = False And oExistingItems.Count > 0 Then
|
||||
oListofString = oExistingItems.Concat(oListofString).ToList()
|
||||
End If
|
||||
If oPreventMultipleValues = True Then
|
||||
oListofString = oListofString.Distinct().ToList()
|
||||
End If
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndexLoS(CURRENT_NEWFILENAME, oIndexName, oListofString, CURR_DOKART_OBJECTTYPE)
|
||||
'End If
|
||||
|
||||
Else
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndex(CURRENT_NEWFILENAME, oIndexName, oIndexValue, CURR_DOKART_OBJECTTYPE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user