• formatting names (upper and lower case) (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » formatting names (upper and lower case) (2000)

    Author
    Topic
    #361465

    I can’t find any reference in the books I have, but is there a function that will format a text field so that the first character is upper case and the others lower?

    The data we have comes from a mainframe, and all names are in upper case. I’d like to format them to the proper case. I know I can use the left(), but thought there might be something that would do it smarter.

    Thanks for any help.

    Viewing 2 reply threads
    Author
    Replies
    • #546440

      You can use the StrConv( ) function with the vbProperCase conversion constant. This will capitalize the first letter of each word, while making all other letters lower case. Use like this:
      [Namefield] = StrConv( [Namefield], vbProperCase)

    • #546441

      Not sure if this is what your looking for but check it out:
      http://oak.cats.ohiou.edu/~andersoj/inputmasks.html

    • #547084

      I have a subroutine that is in a module that I have modified to do this. After bringing data down from our AS/400 I use the routine to convert names and addresses to upper/lower case. I have modified it to handle cases such as McBride, etc… Let me know if you are interested in getting it.

    Viewing 2 reply threads
    Reply To: formatting names (upper and lower case) (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: