View Single Post
  #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" "@" "" }