Results 1 to 4 of 4
  1. #1
    sbrady19 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    33

    last name field auto loads the email field


    I have 2 field, a last name field and an email. How would I go about writing code that if the last name is "Hulme", the email field would fill in "Ken.Hulme@company.org"

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Where would you identify "Ken"?
    What happens if 2 Hulme's are with your Company? Would you give both Ken.Hulme@company.org?
    Think there's more to this than you have told us.

  3. #3
    sbrady19 is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Feb 2015
    Posts
    33
    OK from what I have learned from the free tuts on YouTube I did make 2 fields, 1stName and lastName. Yes there could be 3 "Smiths" in the company. So would I have to stitch 1stName + LastName = ken.hulme then make the emailfield:

    ken.hulme@company.org.

    would I do this in expression builder in Default value. It seems this is only for numbers. How do you concatenate words. I need to get the data from the table, but its not like excel, B4 + C4.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

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

Similar Threads

  1. Replies: 2
    Last Post: 12-04-2013, 05:38 PM
  2. Replies: 10
    Last Post: 09-17-2013, 05:22 PM
  3. Replies: 10
    Last Post: 07-19-2013, 02:05 PM
  4. Replies: 10
    Last Post: 11-21-2011, 02:56 AM
  5. Replies: 3
    Last Post: 10-03-2011, 02:33 PM

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