Hi,
I am wondering if this is posible :
On the timer event of a form i am running a code every 60 seconds
if the current time is for example 4pm, and the lowest/first !hora field is 8pm, it is useless to run the timer every 60 seconds, until it finaly meets the condition to run the code.
Any thoughts
I am wondering if this is posible :
On the timer event of a form i am running a code every 60 seconds
Code:
With rstC ' ( the recordset is sorted by the field !hora, wich is a time field)
Do While Not .EOF
If !jaEsta = 0 And now() >TimeValue(!hora) then
' here i do something
End If
.MoveNext
Loop
End With
if the current time is for example 4pm, and the lowest/first !hora field is 8pm, it is useless to run the timer every 60 seconds, until it finaly meets the condition to run the code.
Any thoughts