Hello,
I have an Access database that I would like to execute a function at a set time, i.e. 21:00hrs when the database is not busy.
At the moment I use a loop as follows,
dim dSubTime as time
'this is a user defined time
Do
Loop While dSubTime <> Time
Call fcnDoSomething
i.e. do absolutely nothing until the two times equal each other.
The issue is; this uses shed loads of memory & system resources.
Does anyone know a more efficient way?
Thanks,
Liam1
I have an Access database that I would like to execute a function at a set time, i.e. 21:00hrs when the database is not busy.
At the moment I use a loop as follows,
dim dSubTime as time
'this is a user defined time
Do
Loop While dSubTime <> Time
Call fcnDoSomething
i.e. do absolutely nothing until the two times equal each other.
The issue is; this uses shed loads of memory & system resources.
Does anyone know a more efficient way?
Thanks,
Liam1