OK, now I understand. However, if I attempt to put your code in the keypress event for my form class so I dont have to reproduce it on every form I get the message that 'activecontrol' is not an object. Any help here? Thanks...
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!