converting the entered text into uppercase and lowercase

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dorji Wangchuk
    New Member
    • Jul 2015
    • 1

    converting the entered text into uppercase and lowercase

    How can i read the entered text or sentence in a text box and display it in a form of uppercase,lower case in a level
  • jimatqsi
    Moderator Top Contributor
    • Oct 2006
    • 1293

    #2
    Dorji,
    The function ucase(sometext) will change to all upper case. lcase does the same for lower case.

    So
    Code:
    me.sometextbox=ucase(me.sometextbox)
    will do the trick.

    Jim

    Comment

    • jforbes
      Recognized Expert Top Contributor
      • Aug 2014
      • 1107

      #3
      As Jim has offered, UCase() and LCase() are probably the best way.

      If you want to Uppercase the first letter of every word and Lowercase the rest of the word (CamelCase), you can use StrConv():
      Code:
      Me.SomeTextBox=StrConv(Me.SomeTextBox, 3)

      Comment

      Working...