Peter Bellamy
Registered User.
- Local time
- Today, 15:12
- Joined
- Dec 3, 2005
- Messages
- 295
This is probaly known to the gurus on this forum but it came as news to me when I was searching to a solution for another problem.
There is a timer available in Access which you can use, for example, to time the speed of your code, which can be as accurate a 1ms.
It can be declared where you want it, I put it an a module to make available everywhere.
A Google for 'timeGetTime' will give you the details
It is a timer that starts when Windows starts and does not rollover for about 50 days. So subtracting your first call from subsequent ones gives you the intervals.
Hope you find it interesting!
pnb
There is a timer available in Access which you can use, for example, to time the speed of your code, which can be as accurate a 1ms.
It can be declared where you want it, I put it an a module to make available everywhere.
Code:
Declare Function timeGetTime Lib "WINMM" () As Long
A Google for 'timeGetTime' will give you the details
It is a timer that starts when Windows starts and does not rollover for about 50 days. So subtracting your first call from subsequent ones gives you the intervals.
Hope you find it interesting!
pnb