N
niuginikiwi
I have a YES/NO field called LogOff in a table called tblLogoff. The default
value is NO.
And I have a form called frmLogoff bound to tblLogoff. I have a checkbox
with recourd source as Logoff.
What I want to that form to do is check the check the PC time say every 3
minutes and when the time is 12pm, it ticks the check box and when the time
is 12.30pm then it will uncheck the checkbox.
I think this can be done but I just don't know how to come up with the vba
code to put behind the form to carry out this actions.
Here is a psudocode:
'I will put say value 15000 on the Timer Interval property of the form.
If time() = 12.00pm then
me.chkLogoff = true
ElseIf time()=12:30pm then
me.checkLogoff = false
End If
Thanks in advance for any help.
value is NO.
And I have a form called frmLogoff bound to tblLogoff. I have a checkbox
with recourd source as Logoff.
What I want to that form to do is check the check the PC time say every 3
minutes and when the time is 12pm, it ticks the check box and when the time
is 12.30pm then it will uncheck the checkbox.
I think this can be done but I just don't know how to come up with the vba
code to put behind the form to carry out this actions.
Here is a psudocode:
'I will put say value 15000 on the Timer Interval property of the form.
If time() = 12.00pm then
me.chkLogoff = true
ElseIf time()=12:30pm then
me.checkLogoff = false
End If
Thanks in advance for any help.