Caps lock

L

LC

Hi,

I was wondering if it is possible to make all user type
info into capital letters.

Basically on forms and tables
when the user types in "word" it should automatically
formatted to "WORD"

Thanks in advance,
LC
 
R

Rick B

You could use the input mask to convert what they type.

Rick B


Hi,

I was wondering if it is possible to make all user type
info into capital letters.

Basically on forms and tables
when the user types in "word" it should automatically
formatted to "WORD"

Thanks in advance,
LC
 
J

Jim Allensworth

Hi,

I was wondering if it is possible to make all user type
info into capital letters.

Basically on forms and tables
when the user types in "word" it should automatically
formatted to "WORD"

Thanks in advance,
LC

You can use the On Key Press event to force upper case.

Private Sub txtMyTextBox_KeyPress(KeyAscii As Integer)
On Error Resume Next
KeyAscii = Asc(UCase(Chr(KeyAscii)))

End Sub


- Jim
 

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