+ Reply to Thread
Results 1 to 5 of 5

Capitalize Last Names in Access Database Field

  1. #1
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    2007
    Posts
    106

    Capitalize Last Names in Access Database Field

    Hello,

    I know this is an excel forum, but I also know many of you are proficient in all things Microsoft Office and was wondering if someone could help with automatically capitalizing all Last Names in an Access Database.

    I cannot create another column or field with this information, because I do not know how that would affect the program that is accessing this database. Ideally, I could run a macro, that would captialize all the last names and then closes out of the database.
    Last edited by rjj920; 01-27-2022 at 12:11 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,533

    Re: Access Database

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  3. #3
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    2007
    Posts
    106

    Re: Capitalize Last Names in Access Database Field

    Sorry about that. Fixed!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    60,533

    Re: Capitalize Last Names in Access Database Field

    Perfect - thanks. And I've moved this to our dedicated Access area.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Win 11 Home 64 Bit
    Posts
    21,484

    Re: Capitalize Last Names in Access Database Field

    You could create an update query.

    In the query itself, create a new field and in that field an expression

    NewFieldName: UCase(OldFieldName)

    https://www.techonthenet.com/access/...ring/ucase.php

    Then change this query to an update query and update the OldFieldName with the NewFieldName

    https://www.customguide.com/access/update-queries
    Alan


    Have you debugged your code?
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 04-08-2020, 06:34 PM
  2. List of Access database paths in Excel - Need to return Access version
    By Wedge120 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2019, 12:19 PM
  3. Replies: 16
    Last Post: 03-12-2019, 04:54 PM
  4. copy data from one access database to another access database
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2014, 09:03 AM
  5. Replies: 5
    Last Post: 07-16-2013, 12:02 PM
  6. Replies: 2
    Last Post: 07-05-2013, 09:37 AM
  7. Excel query of Access database - changed database filename, now error
    By ucdcrush@gmail.com in forum Excel General
    Replies: 2
    Last Post: 03-08-2006, 04:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1