Heenan, Lambert
Lambert.Heenan at AIG.com
Wed Mar 26 15:50:44 CDT 2008
Or your can try my (slightly) briefer code to be found at http://www.mvps.org/access/api/api0046.htm It's actually a replacement for SendKeys, but within the code you will find two routines to check and set the NumLock status. You can drop that code into a module, Drew's code needs to be in a Class module of course. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, March 26, 2008 4:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Num Lock Holy Mother of Pearl! Where's that nice succinct acNumLock constant? Well, I guess I'll drop this into a module and check it out. I'm sure it works. Seems like shooting a fly with a cannon but that's Access. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, March 26, 2008 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Num Lock Keyboard Class: <snip>