View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Fev Fev is offline
external usenet poster
 
Posts: 11
Default Word wrap mailmerge fields in a table

I have a table of 4 columns but 1 row in a mailmerge document with
multiple IF fields to test whether to merge the information. An
example of the logic is:
{if {MERGEFIELD "STRPeriod1"}"" "{MERGEFIELD STRAmt1" \# R,0.00}"
""} {if {MERGEFIELD "STRPeriod2"}"" "{MERGEFIELD STRAmt2" \# R,
0.00}" ""}
For each column there are 20 IF statements with the mergefields
numbered 1 -20. The table properties are set not to autofit. I need
to have all true results appear on new lines inside the table, but not
to leave empty lines for false results. I have tried setting a
decimal tab in the column and inserting a "hard tab" Ctrl Tab before
each new If statement without success. I have also tried using the
Symbol field and the Advance field without success. I would
appreciate any suggestions as I have 8 similar documents that will
need to use this type of feature in a large merge system. I am
testing this in both Word 2003 and Word 2007.
Thanks