How to Concatenate LastName and FirstName into FullName

kmurtha

Board Regular
Joined
Mar 24, 2004
Messages
52
Hey Everyone, Happy New Year

I have a table with a FirstName and LastName field. I have now added a FullName field. Here are my questions

1. How can I update the data to concatenate First and Last Into Full?
2. How do I modify the data entry form to "Build" the FullName from the first and the Last, not allowing for editing of Full?

I don't want people to edit the FullName as this would screw up the other two fields.

Thanks for you help.

K. :oops:
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I'm sure someone will offer a better solution than I, but here's my 2 cents. Depending on how you intend to use the FullName, you could try a couple of different things. One, you could create a query that includes your table as a recordsource and put the expression...
Code:
=[FirstName]&" "&[LastName]
in the Field row. You could then use this query as your recordsource for whatever requires the FullName field.

Another option if your intent is to use FullName on a report or form and you have your table as the record source of the report or form (or subform), you could use the above mentioned expression in a textbox and get the desired result.

If these don't accomplish what you are trying to do, please provide more details about what you are trying to achive.
 
Upvote 0
Homer

This does exactly what I need it to do on the entry Form Great! Thanks!

Now how do I post this to the "Fullname" field in the table?

Thanks again

Kevin
 
Upvote 0
Kevin said:
Now how do I post this to the "Fullname" field in the table?
Why do you want to do that?

If you already have the first name and last name fields in the table this would just be replicating the data.

You can use the expression provided in queries, forms reports etc.
 
Upvote 0

Forum statistics

Threads
1,221,841
Messages
6,162,314
Members
451,759
Latest member
damav78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top