Compare commits

...

2 Commits

Author SHA1 Message Date
Jonathan Jenne
b8cc39a7c7 clean up getplaceholdervalue 2020-07-30 10:29:33 +02:00
Jonathan Jenne
33fa89bae9 rename NULL placeholder to $Null 2020-07-30 10:29:22 +02:00
3 changed files with 4 additions and 4 deletions

View File

@@ -374,7 +374,7 @@ Public Class ClassControls
} }
} }
If Vorgabe.ToUpper = "NULL" Then If Vorgabe.ToUpper = "$NULL" Then
oPicker.EditValue = Nothing oPicker.EditValue = Nothing
ElseIf Vorgabe IsNot Nothing Then ElseIf Vorgabe IsNot Nothing Then
oPicker.EditValue = Vorgabe oPicker.EditValue = Vorgabe

View File

@@ -1314,7 +1314,7 @@ Public Class frmAdministration
Case 5 : oValue = "$DateDDMMYYY" Case 5 : oValue = "$DateDDMMYYY"
Case 6 : oValue = "$Username" Case 6 : oValue = "$Username"
Case 7 : oValue = "$Usercode" Case 7 : oValue = "$Usercode"
Case 8 : oValue = "NULL" Case 8 : oValue = "$Null"
End Select End Select
DEFAULT_VALUETextBox.Text = oValue DEFAULT_VALUETextBox.Text = oValue

View File

@@ -1728,8 +1728,8 @@ Public Class frmIndex
End Try End Try
End Sub End Sub
Function GetPlaceholderValue(InputValue As String, FileName As String, UserShortName As String) Function GetPlaceholderValue(InputValue As String, FileName As String, UserShortName As String) As String
Dim oResult = Nothing Dim oResult As String
Try Try
Select Case InputValue.ToString.ToUpper Select Case InputValue.ToString.ToUpper