Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
[email protected] clive.ming@hotmail.co.uk is offline
external usenet poster
 
Posts: 5
Default Mail merge .. . If Then Else

Hi - i am having a few problems with the if then else conditional
statement with word mail merge. The logic that i am looking to
implement is if Value X = XX then print @ else print nothing. The
code is below. Now this seems very simple but for some reason doesnt
work and even when the condition is met it does not print @. As part
of the testing i have printed to screen Value X to confirm it contains
the data for the condition to be met but it doesnt write the @.

{ IF { MERGEFIELD PatientCode } = "XX" "@" "" }

 
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
Word crashes when I try to mail merge using Outlook recipients Medicalst Mailmerge 3 January 3rd 07 10:39 AM
Mail Merge insert merge fields Dannyl Mailmerge 1 December 12th 06 05:51 AM
Mail Merge Dannyl Mailmerge 0 December 12th 06 03:40 AM
Heavy Mail Merge Application Atul Mailmerge 1 August 17th 06 02:37 PM
How to get all mail merge fields in a document [email protected] Mailmerge 3 February 17th 06 05:43 AM


All times are GMT +1. The time now is 10:31 PM.

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"