LeeSmith
Registered User.
- Local time
- Today, 22:57
- Joined
- Mar 17, 2006
- Messages
- 27
Hi all
In my current project i'm trying to get a tick box to update a date field with the current date and to revert to 'no date or null'. This is the code I'm currently trying to work with. Query Completed is the tick box and DateQuerySolved is the date field. Can anyone help me with this?
If QueryCompleted = True Then Me.DateQuerySolved = Now()
End If
Exit Sub
If QueryCompleted = False Then Me.DateQuerySolved = Null
End If
Exit Sub
In my current project i'm trying to get a tick box to update a date field with the current date and to revert to 'no date or null'. This is the code I'm currently trying to work with. Query Completed is the tick box and DateQuerySolved is the date field. Can anyone help me with this?
If QueryCompleted = True Then Me.DateQuerySolved = Now()
End If
Exit Sub
If QueryCompleted = False Then Me.DateQuerySolved = Null
End If
Exit Sub