Index-Typ-Überprüfung in frmFormDesigner angepasst
Mehrere Funktionen zur Überprüfung von Index-Typen wurden geändert: - Die Initialisierung der Variablen `oType` wurde vereinfacht. - Eine neue Bedingung für `IndexName = "@@DISPLAY_ONLY"` wurde hinzugefügt, die die Funktion frühzeitig mit `0` beendet. - Die bestehende Logik zur Bestimmung des Index-Typs bleibt unverändert.
This commit is contained in:
@@ -186,7 +186,10 @@ Public Class frmFormDesigner
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function IsNotBooleanIndex(IndexName As String) As Boolean
|
Private Function IsNotBooleanIndex(IndexName As String) As Boolean
|
||||||
Dim oType As Integer '= WINDREAM_MOD.GetIndexType(IndexName)
|
Dim oType As Integer
|
||||||
|
If IndexName = "@@DISPLAY_ONLY" Then
|
||||||
|
Return 0
|
||||||
|
End If
|
||||||
If IDB_ACTIVE = False Then
|
If IDB_ACTIVE = False Then
|
||||||
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
||||||
Else
|
Else
|
||||||
@@ -196,7 +199,10 @@ Public Class frmFormDesigner
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function IsNotDateIndex(IndexName As String) As Boolean
|
Private Function IsNotDateIndex(IndexName As String) As Boolean
|
||||||
Dim oType As Integer '= WINDREAM_MOD.GetIndexType(IndexName)
|
Dim oType As Integer
|
||||||
|
If IndexName = "@@DISPLAY_ONLY" Then
|
||||||
|
Return 0
|
||||||
|
End If
|
||||||
If IDB_ACTIVE = False Then
|
If IDB_ACTIVE = False Then
|
||||||
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
||||||
Else
|
Else
|
||||||
@@ -206,7 +212,10 @@ Public Class frmFormDesigner
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function IsNotVectorBooleanIndex(IndexName As String) As Boolean
|
Private Function IsNotVectorBooleanIndex(IndexName As String) As Boolean
|
||||||
Dim oType As Integer '= WINDREAM_MOD.GetIndexType(IndexName)
|
Dim oType As Integer
|
||||||
|
If IndexName = "@@DISPLAY_ONLY" Then
|
||||||
|
Return 0
|
||||||
|
End If
|
||||||
If IDB_ACTIVE = False Then
|
If IDB_ACTIVE = False Then
|
||||||
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
||||||
Else
|
Else
|
||||||
@@ -216,7 +225,10 @@ Public Class frmFormDesigner
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function IsNotVectorDateIndex(IndexName As String) As Boolean
|
Private Function IsNotVectorDateIndex(IndexName As String) As Boolean
|
||||||
Dim oType As Integer '= WINDREAM_MOD.GetIndexType(IndexName)
|
Dim oType As Integer
|
||||||
|
If IndexName = "@@DISPLAY_ONLY" Then
|
||||||
|
Return 0
|
||||||
|
End If
|
||||||
If IDB_ACTIVE = False Then
|
If IDB_ACTIVE = False Then
|
||||||
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
||||||
Else
|
Else
|
||||||
@@ -226,7 +238,10 @@ Public Class frmFormDesigner
|
|||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Function IsNotVectorDatetimeIndex(IndexName As String) As Boolean
|
Private Function IsNotVectorDatetimeIndex(IndexName As String) As Boolean
|
||||||
Dim oType As Integer '= WINDREAM_MOD.GetIndexType(IndexName)
|
Dim oType As Integer
|
||||||
|
If IndexName = "@@DISPLAY_ONLY" Then
|
||||||
|
Return 0
|
||||||
|
End If
|
||||||
If IDB_ACTIVE = False Then
|
If IDB_ACTIVE = False Then
|
||||||
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
oType = WINDREAM_MOD.GetIndexType(IndexName)
|
||||||
Else
|
Else
|
||||||
|
|||||||
Reference in New Issue
Block a user