Others

How to Combine First Initial and Last Name in Microsoft Access

Phi Hung VoPhi Hung Vo Nov 2, 2026 869 views

Question details

The user wants to combine the first letter of a first name field with the full last name in Microsoft Access.

How to Combine First Initial and Last Name in Microsoft Access
Product
Microsoft Access
Device & OS
not provided
Scenario
Creating a combined identifier (like JDoe) from separate FName and LName fields for reporting or display purposes.
Observed behavior
The goal is to dynamically generate a text string that combines a person's first initial and last name for display without altering the underlying table structure.
Before you start

Ensure you have your Microsoft Access database open and that your target table contains distinct fields for the first name and last name.

Solution 1Recommended

Use a Query Expression to Combine Names

Use the Left() function combined with an ampersand to extract the first initial and append it to the last name dynamically.

It is highly recommended to calculate and display this combined value dynamically rather than storing it directly in your table. Storing derived data takes up unnecessary space and violates database normalization rules.

1
Open Query Design

Open your database in Microsoft Access, navigate to the Create tab on the top ribbon, and click on Query Design.

2
Add Your Table

Select the table containing your name fields (e.g., FName and LName) and add it to the query design window.

3
Enter the Expression

In a blank column on the query design grid, type the following expression into the Field row: CombinedName: Left([FName],1) & [LName]

4
Run the Query

Click the Run button (red exclamation mark) on the ribbon to view the results. The new column will dynamically display the first initial and last name.

Use a Query Expression to Combine Names
Primary Key Warning: Never replace an AutoNumber or unique ID with a name-based identifier. Duplicate combinations like 'JDoe' (John Doe, Jane Doe) will cause database errors if used as a primary key.
Free Microsoft Office alternative

Looking for a Lightweight Microsoft Office Alternative?

While WPS Office does not include a database management tool like Microsoft Access, it offers a powerful, free, and highly compatible suite for all your document, spreadsheet, and presentation needs. Experience a seamless migration with a familiar interface.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Free, lightweight, and fast-loading office suite.Familiar user interface makes switching easy and requires no learning curve.Built-in PDF editing and conversion capabilities.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use the combined initial and last name as a primary key in Access?

No, it is highly discouraged. Combinations like the first initial and last name (e.g., JDoe) are rarely unique, as multiple people can share them (e.g., John Doe and Jane Doe). Always use a dedicated unique identifier, such as an AutoNumber field, for primary keys.

How do I add a space between the first initial and last name?

To add a space, modify your query expression to include a space enclosed in quotation marks. Use the expression: Left([FName],1) & " " & [LName].

Why should I use a query instead of saving the combined name in the table?

Storing derived or calculated values in a table violates database normalization principles. Calculating the value dynamically in a query, form, or report ensures your data remains accurate, saves storage space, and prevents inconsistencies if a person's name ever changes.

How do I extract more than one letter from the first name?

You can change the number in the Left() function to specify how many characters to extract. For example, to extract the first two letters of the first name, use the expression: Left([FName],2) & [LName].