Das Feld ist noch nicht gesetzt:
Dim wrk00 As Variant
Dim wrk01 As Long
Dim wrk02 As Long
Dim wrk03 As Long
Dim ret_eval As Variant
wrk01 = Clng(temp5) <-- Tag / TT
wrk02 = Clng(temp6) <-- Monat /MM
wrk03 = Clng(temp7) <-- Jahr /JJJJ
wrk00 = Datenumber(wrk03, wrk02, wrk01)
If wrk00 = 0 Then
doc.geb_datum = ""
Else
doc.geb_datum = wrk00
ret_eval = Evaluate( |FIELD geb_datum := @Date(geb_datum );@true |, doc)
End If
Andreas