Hi all
i have a simple access form with a kind of a chrono field
(the 'timer function' is inserted in the code)
when the user hits a button, it registers a timestamp and another field starts the count
timestamp is saved in box 'begin'
the other box ('chrono') contains the formula
"now()-[begin] "
a Me.chrono.requery is running so i see the form/chronofield refreshing every second, the count is running
to finalise i need a piece of code to stop requery-ing the chrono somehow
when the user hits the stop button it should 'freeze' the value in the chrono box (this value being only informational display, not to be used for other purposes or not to be saved somewhere)
i would need something like
Private Sub Command10_Click()
Me.chrono.stoprequery-ing
End Sub
(I realise that this is probably not the correct way to work, but i am almost set right now, and if this code qhould exist, i do not have to strat all over again)
every piece of info is welcome!
thanks in advance!
i have a simple access form with a kind of a chrono field
(the 'timer function' is inserted in the code)
when the user hits a button, it registers a timestamp and another field starts the count
timestamp is saved in box 'begin'
the other box ('chrono') contains the formula
"now()-[begin] "
a Me.chrono.requery is running so i see the form/chronofield refreshing every second, the count is running
to finalise i need a piece of code to stop requery-ing the chrono somehow
when the user hits the stop button it should 'freeze' the value in the chrono box (this value being only informational display, not to be used for other purposes or not to be saved somewhere)
i would need something like
Private Sub Command10_Click()
Me.chrono.stoprequery-ing
End Sub
(I realise that this is probably not the correct way to work, but i am almost set right now, and if this code qhould exist, i do not have to strat all over again)
every piece of info is welcome!
thanks in advance!