Results 1 to 2 of 2
  1. #1
    databasewolfy is offline Novice
    Windows 10 Access 2016
    Join Date
    Aug 2019
    Posts
    10

    populating text fields with a formatted name extracted from an e-mail address field


    Hello there. I have a large database with user e-mail addresses, but no way to conveniently display the user's name on the form.

    E-mail formats as firstname.middleinitial.lastname.extraneousinfo@pl ace.domain

    I have a first and last name field already in the table, but both are blank.

    This is the only user data I have. How can I accomplish this?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    See if this gets you started:

    ?split("firstname.middleinitial.lastname.extraneou sinfo@pl ace.domain",".")(0)
    firstname
    ?split("firstname.middleinitial.lastname.extraneou sinfo@pl ace.domain",".")(2)
    lastname
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. e- mail field not populating
    By maxel in forum Access
    Replies: 2
    Last Post: 10-04-2017, 11:57 AM
  2. Replies: 1
    Last Post: 11-25-2014, 04:44 AM
  3. Replies: 2
    Last Post: 08-22-2013, 12:02 AM
  4. using google maps address into a text field
    By thanosgr in forum Programming
    Replies: 5
    Last Post: 04-26-2012, 03:39 PM
  5. Pasting formatted text into memo field
    By joekuhn in forum Access
    Replies: 0
    Last Post: 07-08-2011, 02:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums