Performing an action before opening form.

P

Paul S

I want to have the CapsLock key turn on before a certain form is opened. Does
anybody have some VB for this? Thanks.
 
P

PieterLinden via AccessMonster.com

Paul said:
I want to have the CapsLock key turn on before a certain form is opened. Does
anybody have some VB for this? Thanks.

One option is to turn it on when the form opens... or just apply the shift to
uppercase when the user exits a field... or just *show* everything in
uppercase on the form... use a mask for it. It will not affect the data in
the tables, though.
 
D

Douglas J. Steele

Are you sure? Personally, I'd refuse to use an application that insisted on
changing my settings...

If you are, check out http://www.mvps.org/access/api/api0046.htm at "The
Access Web". You'd want the ToggleCapsLock subroutine there (but note that
you'll need to copy a lot of the other declaration stuff to make that work)
 
J

Jeff Boyce

Paul

You've described "how" you want to solve an issue (i.e., force all CAPS),
but not "why" or "what".

What will having all CAPS do for you/your users?

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top