(Q) When I run some code in a form, the Numlock key sometimes turns itself off. Why is
(A) There is a well known bug in all versions of Access involving SendKeys switching
off the Numlock key. There are very few occasions where Sendkeys is absolutely required
and the best answer to this problem is to try and avoid it's use.
Also see: Replacement for Sendkeys