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
ElseIf Vorgabe IsNot Nothing Then
oPicker.EditValue = Vorgabe

View File

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

View File

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