How to Update an Access Table with a Concatenated Full Name
Question details
The user needs to combine First Name and Last Name fields into a single Full Name field within a Microsoft Access table and use it to appropriately link or update related data.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Updating a database table by merging separate name fields into one and matching records across different tables safely.
- Observed behavior
- First and last names are stored separately but are needed as a concatenated full name to populate fields or match records without breaking database relationships.
Before running an update query, ensure that your tables have unique primary keys (like an ID number). Avoid using names as the sole link between tables, as multiple people may share the same full name.
Use an UPDATE Query to Concatenate Name Fields
The most efficient way to combine fields is by using a calculated expression in an update query.
By applying an ampersand operator (&), Microsoft Access allows you to merge text from multiple fields and insert spaces dynamically.
In Microsoft Access, navigate to the 'Create' tab on the ribbon and click on 'Query Design'.
Select the table containing the separate first and last name fields from the dialog box and add it to your query window.
Click the 'Update' button located in the Query Type group on the ribbon toolbar.
Drag the Full Name field into the query grid. In the 'Update To' row, type the expression: [FirstName] & " " & [LastName].
Click 'Run' on the ribbon. Click 'Yes' to confirm the update and populate the full-name field for all targeted records.

Link Tables Safely Using Primary Keys
When using concatenated names to fetch related data (like mobile numbers) from another table, always use a primary key instead of the name to prevent mismatching.
Looking for a Free Alternative to Microsoft Office?
While Microsoft Access is a specialized database tool, many data merging, concatenation, and lookup tasks can be easily handled using spreadsheets. WPS Office provides a lightweight, highly compatible, and free alternative to Microsoft Office, featuring robust spreadsheet functions for data manipulation.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open Your Data File: Launch WPS Spreadsheet and import your existing data lists or CSV files.
- 3. Merge Data Easily: Use the CONCATENATE function or the ampersand (&) operator to merge name fields, and use XLOOKUP to match related records securely.

Frequently Asked Questions
Why shouldn't I use a person's full name to link tables in a database?
Names are rarely unique. Multiple people might be named 'John Smith'. If you link tables using only the full name, you risk updating or overwriting the wrong record. Always use a unique identifier, such as a primary key or ID number.
Can I concatenate more than two fields in an Access query?
Yes. You can chain multiple fields and text strings together using the ampersand (&) operator. For example, you can include a middle initial by typing: [FirstName] & " " & [MiddleInitial] & " " & [LastName].
Is it better to store the full name or keep first and last names separate?
Database best practices dictate keeping data atomic, meaning names should be kept in separate fields (First, Middle, Last). This makes it much easier to sort by last name, filter records, or format salutations.




