Results 1 to 15 of 15
  1. #1
    jhrBanker is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    68

    Full Name from FirstName LastName

    This is just to simple, but I'm braindead today.
    I have a form based on a table. The table has 3 fields: FirstName, LastName & FullName.
    When I enter the FirstName and LastName, I want to populate the FullName field in the table.
    Thanks,
    jr

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Why do you even have a FullName field. You can *always* create it in a query.

  3. #3
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    As RuralGuy stated, Not a good idea most of the time.
    The above can be used when needed on a form or report.
    however, as per your request,

    [FirstName] & " " & [LastName] as a calculated field.

    Dale

  4. #4
    jhrBanker is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    68
    Understood. This is a special situation.
    I should have mentioned in the original post that this is Access 2007, which I don't think has the Calculated Field option in the table.
    Any way around that?

  5. #5
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    None that I can think of.

    Can you use a query?

    Dale

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by jhrBanker View Post
    Understood. This is a special situation.
    I should have mentioned in the original post that this is Access 2007, which I don't think has the Calculated Field option in the table.
    Any way around that?
    You could certainly use an UPDATE query to fill the FullName field if need be.

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Why can't you use a query? What makes it a special case? Most procedures cannot tell the difference between a table and a query.

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    We're not trying to be obstinate, just understand this special condition.

  9. #9
    jhrBanker is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    68
    This is not my db. Just need to make a small change for a friend. There are other forms, reports and queries already built, and I was trying to avoid having to modify all of them. Guess I'll need to go through them all.
    Thanks for your help.
    jr

  10. #10
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The FullName field has *always* been in this table?

  11. #11
    jhrBanker is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    68
    Yes. The operator enters it separately from the FirstName and LastName. This was my friends first shot at using Access.

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You don't use a Form? Just open the table for edit?

  13. #13
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Gotcha.
    Make a FullName field in a select query and use that query for the form rather than the table.

    Dale

  14. #14
    jhrBanker is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    68
    Thanks for your help. Muchly appreciated

  15. #15
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is this thread ready to use the Thread Tools at the top of the thread and mark as Solved?

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

Similar Threads

  1. Replies: 4
    Last Post: 05-30-2012, 12:49 PM
  2. Replies: 8
    Last Post: 05-08-2012, 03:20 PM
  3. Replies: 4
    Last Post: 09-06-2011, 01:00 AM
  4. FirstName + LastName
    By mehulkar in forum Access
    Replies: 1
    Last Post: 07-28-2011, 01:40 PM
  5. Concatenate firstname + lastname
    By Dega in forum Access
    Replies: 2
    Last Post: 08-11-2010, 04:58 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