View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
manatee08 manatee08 is offline
external usenet poster
 
Posts: 3
Default IF THEN ELSE CODE

Can someone please tell me what is wrong with this code. What I am trying to
do is:

IF NationalFilingDate field is blank, THEN input the ApplicationDate ELSE
input the NationalFilingDate using the format of MMMM dd, yyyy. This is the
code that I have so far:

{ IF { MERGEFIELD NationalFilingDate }= { MERGEFIELD ApplicationDate \@
MMMM dd, yyyy } { MERGFIELD NationalFilingDate \@ MMMM dd, yyyy} }