If you only want to SEE them in upper case, you can put a > in the Format
property of the field. If you actually want them converted to upper case,
you can use the UCase function in the AfterUpdate event of a textbox on a
form. (You can't do it directly in a table)
While an input mask seems the easiest way to do it, you
can call UCase, either in the On KeyDown event to convert
each character as it is entered or all at once in the
AfterUpdate event.
Private Sub txtYourControl_KeyDown(KeyCode As Integer, _
Shift As Integer)
That won't work. You'll never be able to enter more than one character due to
the fact that your entire entry will be highlighted each time you press the key
after the first character. You might be thinking of the following in the
control's "KeyPress" event procedure:
That won't work. You'll never be able to enter more than
one character due to
the fact that your entire entry will be highlighted each time you press the key
after the first character. You might be thinking of the following in the
control's "KeyPress" event procedure:
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.