Aug 31, 2001 #1 jahlmer Technical User Joined Aug 23, 2000 Messages 143 Location US Quick Question: How do you force uppercase in a field on a form? For instance, lowercase data is entered, and is then converted to uppercase when the record is saved. Thanks
Quick Question: How do you force uppercase in a field on a form? For instance, lowercase data is entered, and is then converted to uppercase when the record is saved. Thanks
Aug 31, 2001 #2 Philly44 Programmer Joined Jul 17, 2001 Messages 277 Location CA In the Controls ControlSource put UCASE(FieldName). That will make Uppercase whenever the control loses focus. Upvote 0 Downvote
In the Controls ControlSource put UCASE(FieldName). That will make Uppercase whenever the control loses focus.
Aug 31, 2001 #3 JoeMiller IS-IT--Management Joined Apr 27, 2001 Messages 1,634 Location US Another way is to place this code in the keypress event of the text box: KeyAscii = Asc(UCase(Chr(KeyAscii))) That automatically converts any character to UPPERCASE as the person types. Joe Miller joe.miller@flotech.net Upvote 0 Downvote
Another way is to place this code in the keypress event of the text box: KeyAscii = Asc(UCase(Chr(KeyAscii))) That automatically converts any character to UPPERCASE as the person types. Joe Miller joe.miller@flotech.net
Aug 31, 2001 Thread starter #4 jahlmer Technical User Joined Aug 23, 2000 Messages 143 Location US Thanks a lot! You know, sometimes it's hard asking questions when you know you can figure it out, but thanks for your help! Upvote 0 Downvote
Thanks a lot! You know, sometimes it's hard asking questions when you know you can figure it out, but thanks for your help!