Global Declaration:
Dim currentFieldName As String
Feld Entering:
Sub Entering(Source As Field)
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
currentFieldName = uidoc.CurrentField
If uidoc.fieldgettext(currentFieldName) = "0,00" Then
Call uidoc.fieldsettext(currentFieldName, "" )
End If
Call uidoc.Refresh
End Sub
Feld Exiting:
Sub Exiting(Source As Field)
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
currentFieldName = uidoc.CurrentField
If uidoc.fieldgettext(currentFieldName) = "" Then
Call uidoc.fieldsettext(currentFieldName, "0" )
End If
Call uidoc.Refresh
End Sub