"Trim" Name and Address-Access 2007

M

Marilyn Myers

I have created a report (letter) with a return address. What is the format
so the name and city,state,zip do not have all the spaces or should I create
a field such as Name (John Doe) as opposed two fields-one for first name and
one for last name?
 
D

Duane Hookom

I have never experienced a field value entered into Access that retains
trailing spaces. Trim is rarely if ever needed for removing spaces from the
right side of text.

Store names in multiple fields and use:
FullName: [Firstname] & " " & [Lastname]
or
NameFull: [Lastname] & ", " & [Firstname]

=[city] & ", " & [state] & " " & [zip]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top