In the property sheet for the control, enter an input mask. The "greater than" symbol forces upper case. The following mask will force all letters to be upper case:
">LL?????????????" (leave out the quotes -- requires the entry of two characters, the ? marks stand for optional.) See Access Help for "input masks". You can specify all upper case, first character upper case, only characters, only digits, required, optional, etc. You can also put this input mask in the table while in design view. I spend a lot of time trying to prevent upper case.... the "<" forces lower case...this mask forces a name to have an upper case first character, and lower cases following characters:
>L<???????????. Therefore, JOHNSON is forced to Johnson.
Gus Brunston
An old PICKer
padregus@home.com
Theres just one problem I ran into...That is I have a field that has a number (eg 12345678-1A) I want to force the last letter of that field to caps...now that number maynot always be the same size..could be fewer numbers.But there will always be a letter as the last character.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.