Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
ZeonAutonomy ZeonAutonomy is offline
external usenet poster
 
Posts: 1
Default Can you remove words from a mergefield using field codes?

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?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Can you remove words from a mergefield using field codes?

You will have to separate the data in the data source to achieve what you
are after.

--
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

"ZeonAutonomy" wrote in message
...
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?



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Can you remove words from a mergefield using field codes?

Hi ?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 :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Date property in a form field mdavison Microsoft Word Help 13 October 6th 06 02:43 PM
how to suppress a line having a nil or zero value in a merge file Martin Mailmerge 7 June 7th 06 05:09 PM
Hiding Field Codes Me Microsoft Word Help 6 June 4th 06 02:09 AM
Suppressing Merge Field and text before/after julie Microsoft Word Help 8 November 14th 05 02:50 PM
Unwanted spaces in address on envelopes jen Mailmerge 3 September 26th 05 05:37 AM


All times are GMT +1. The time now is 06:37 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"