Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / November 2006

Tip: Looking for answers? Try searching our database.

Can you remove words from a mergefield using field codes?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ZeonAutonomy - 01 Nov 2006 14:28 GMT
We have a wrod document which we merge a field from our database too. The
database outputs "First name Middle name Surname" we would like our letters
to say "Dear Paul" rather than "Dear Paul Jon Humphries". I've been looking
for a merge field code which could be used to purely pull through the first
word, but have been unsucessful. Can anyone help/advise?
Doug Robbins - Word MVP - 01 Nov 2006 19:33 GMT
You will have to separate the data in the data source to achieve what you
are after.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> We have a wrod document which we merge a field from our database too. The
> database outputs "First name Middle name Surname" we would like our
[quoted text clipped - 4 lines]
> first
> word, but have been unsucessful. Can anyone help/advise?
Cindy M. - 01 Nov 2006 20:05 GMT
Hi =?Utf-8?B?WmVvbkF1dG9ub215?=,

> We have a wrod document which we merge a field from our database too. The
> database outputs "First name Middle name Surname" we would like our letters
> to say "Dear Paul" rather than "Dear Paul Jon Humphries". I've been looking
> for a merge field code which could be used to purely pull through the first
> word, but have been unsucessful. Can anyone help/advise?

Word doesn't provide any facility for manipulating text. It's not possible to
pull out a single word, or a number of characters, or anything of that nature.

The best thing to do would be to redesign the database.

The other possibility - if the database supports it (unfortunately you don't
mention what kind of database this is) - would be to run a query in the
database that pre-processes the information before passing it to Word.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.