#1   Report Post  
Posted to microsoft.public.word.docmanagement
Kevin Kevin is offline
external usenet poster
 
Posts: 85
Default Merging Data

Would this work? { IF {MERGEFIELD Company } = { Mergefield First_Name } " "
"{ MERGEFIELD Company }" }
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Merging Data

If you want the result to be a space when Company = First_Name and Company
when they are not equal, then yes it should work.
Have you tried it?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Kevin wrote:
Would this work? { IF {MERGEFIELD Company } = { Mergefield First_Name
} " " "{ MERGEFIELD Company }" }



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default Merging Data

Hi Kevin,

That depends. What are you trying to achieve? The coding suggests that, if the company name and first name are the same (the test is
case-sensitive), output nothing, otherwise output the company name.

Cheers

--
macropod
[MVP - Microsoft Word]
-------------------------

"Kevin" wrote in message ...
Would this work? { IF {MERGEFIELD Company } = { Mergefield First_Name } " "
"{ MERGEFIELD Company }" }


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
Merging from CSV; data problem Jace Mailmerge 1 February 1st 07 06:46 AM
PLEASE HELP - CHANGED DATA NOT MERGING Jennifer Mcdermeit Mailmerge 2 July 21st 06 10:03 AM
Merging data into several forms misso Mailmerge 0 June 29th 06 12:05 PM
HELP WITH MERGING CHART DATA HRassist Mailmerge 1 October 19th 05 03:59 AM
Mail Merging changes my data! Katie Mailmerge 1 April 22nd 05 04:04 PM


All times are GMT +1. The time now is 05:44 PM.

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

About Us

"It's about Microsoft Word"