View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default IF fields disappear upon printing

Hi Sasquatch,

They vanish because you'd normally want the field results to be printed, not the field codes. If you want to print the field code,
check the 'field codes' option under Tools|Options|Print.

Cheers

--
macropod
[MVP - Microsoft Word]


"Sasquatch" wrote in message ...
| I have a Word doc that is merging data from an Access table (Office XP) and
| there are merge fields in the doc (name, address, dates, currency values,
| etc...) along with some {IF} fields for 7 classes that may or may not need to
| show based on if the class's amount (merge field) is 0.
|
| When the document opens all of the fields appear as needed but as soon as I
| either preview or print the document, the {IF} fields will all vanish. Here
| are my fields:
|
| { IF {MergeField Class1Amt } 0 "A. { MergeField Class1Text }" "" }
| { IF {MergeField Class2Amt } 0 "B. { MergeField Class2Text }" "" }
| etc...
| { IF {MergeField Class7Amt } 0 "G. { MergeField Class7Text }" "" }
|
| Can anyone give me any clues as to why these IF statements vanish upon
| printing?
|
| Thanks in advance.