callumwatson
Registered User.
- Local time
- Today, 07:07
- Joined
- Jun 22, 2001
- Messages
- 22
How can I clear the contents of a field?
This is my code so far but I need to set clear the Target date field when the checkbox is not ticked : -
Private Sub Completed_AfterUpdate()
If Me!Completed = True Then
Target_Date = Date
Else
'Want to clear Target_Date here
MsgBox "No date"
End If
Callum
End Sub
This is my code so far but I need to set clear the Target date field when the checkbox is not ticked : -
Private Sub Completed_AfterUpdate()
If Me!Completed = True Then
Target_Date = Date
Else
'Want to clear Target_Date here
MsgBox "No date"
End If
Callum
End Sub