Because of Windows XP's multi-user functionality, the state of the NumLock key is always set to off when the computer starts up. Even if you have it set in your bios to the "on" state, Windows XP will override the behavior.
To work around this issue, you can manually set a registry key value or run a script at logon time.
Note: Use extreme caution when modifying your registry as changing some values may affect your computer adversely. Prior to changing anything in your registry, you may want to consider making a backup of the registry first.
HKEY_USERS\.Default\Control Panel\Keyboard
Note: You will need the Windows Scripting Host files installed on your machine for this to properly run.
WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{NUMLOCK}"
Thank you! Thank you! I just finished reading this document, which was part of a link in the recent Buzz newsletter. I have printed it for others to read, especially those skeptical on the powers of Access and its capabilities.
Darren D.
All Our Microsoft Access Products