Hi guys
feeling a bit stupid today as i cant figure this out and its pretty simple.
i want my checkbox (Exchanged) to be ticked if a date field (ExchangeDate) has had a date put into it. otherwise remain false/empty.
ive tried an if function on the after update event of the field (ExchangeDate) but cant seem to get it to work so far
. i also put the code in the forms on current event but no luck.
note: i have a button that brings up a calendar and inputs the date into the ExchangeDate field. i dont think this should make any difference should it?
Any pointer in the right direction is appreciated
feeling a bit stupid today as i cant figure this out and its pretty simple.
i want my checkbox (Exchanged) to be ticked if a date field (ExchangeDate) has had a date put into it. otherwise remain false/empty.
ive tried an if function on the after update event of the field (ExchangeDate) but cant seem to get it to work so far
Private Sub ExchangeDate_AfterUpdate()
If IsNull(Me.ExchangeDate) Then
Me.Exchanged = False
Else
Me.Exchanged = True
End If
End Sub
note: i have a button that brings up a calendar and inputs the date into the ExchangeDate field. i dont think this should make any difference should it?
Any pointer in the right direction is appreciated
Last edited: