API that detects current system time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi:

I want to automatically trigger an event when a particular time has been
reached or elapsed. Your help will be greatly appreciated. Thanks.
 
One way is to add a timer event to a form that is running (it can be
invisible in the background). Have the code do an IF statement that
compares NOW() to a time range. If the current time is within the range you
specify, then run some code. The range would depend on your timer interval.
If you check every 5 minutes, then use a five minute time range.
 
Back
Top