Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6570349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:44:44+00:00 2026-05-25T14:44:44+00:00

I am trying to do a mail merge with an Access database, but the

  • 0

I am trying to do a mail merge with an Access database, but the output looks like this:

Dear JOHN      SMITH,

Is there a way to trim the white space? I have several thousand of these and I dread having to manually delete the white space on every one of them.

Also, if I could remove the all CAPS and change it to John Smith, that would be awesome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:44:44+00:00Added an answer on May 25, 2026 at 2:44 pm

    I would suggest basing your mail merge on a query, and doing the required concatenation and formatting in the query prior to mail merge. Using the following expression in a query will give you a full name in title (or proper) case with one space between first and last names.

    FullName: StrConv([FirstName] & " " & [LastName],3)
    

    If you are still having trouble with white space in the name fields you can go further if necessary using the Trim function, and trim both names before concatenating them:

    FullName: StrConv(Trim([FirstName]) & " " & Trim([LastName]),3)
    

    Note that if you do something like the above you will only need to use the resulting FullName field on your mail merge form, and it will appear with only the single space between the names as desired.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the following error when trying to execute a mail merge from access
I am getting this error when i am trying to access mail file(mail/usermail.nsf) of
Im trying to send a mail from a asp.net script, but im getting this
I am trying to create a utility method to perform mail merge-like functionality on
I'm trying to perform a mail merge between a docx and the database then
I'm trying to send an e-mail with Codeigniter like this: $this->load->library('email'); $this->email->from(myemail@email.com); $this->email->reply_to(myemail@email.com); $this->email->to(myemail@email.com);
I'm trying to e-mail a html table, that has links within it. But when
On my WordPress site I am trying to mail() the output of a function
I am trying to send mail using mail templates. To do this I want
I am trying to generate word documents using the mail merge feature in Microsoft

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.