Hello,
I want to check for particular users if they have made some new records.
I have found some code that is working during the day ... like
If DateValue(Me.txtnamiddagploegpm7) = Date Then
If TimeValue(Me.txtnamiddagploegpm7.Text) > TimeValue("14:00:00") And TimeValue(Me.txtnamiddagploegpm7.Text) < TimeValue("22:00:00") Then ...
How can I change this for the night shift? Night shift is working from 22:00:01 until 06:00:00 the next day.
Thanks in advance,
Sven.
I want to check for particular users if they have made some new records.
I have found some code that is working during the day ... like
If DateValue(Me.txtnamiddagploegpm7) = Date Then
If TimeValue(Me.txtnamiddagploegpm7.Text) > TimeValue("14:00:00") And TimeValue(Me.txtnamiddagploegpm7.Text) < TimeValue("22:00:00") Then ...
How can I change this for the night shift? Night shift is working from 22:00:01 until 06:00:00 the next day.
Thanks in advance,
Sven.