View Single Post
  #3  
Old August 6th, 2009, 05:52 AM posted to microsoft.public.word.mailmerge.fields
Fev
external usenet poster
 
Posts: 27
Default Word wrap mailmerge fields in a table

On Aug 5, 10:43*pm, "Doug Robbins - Word MVP"
wrote:
In your field construction, press the Enter key when the selection is in the
location where I have inserted the ¶ following construction

{if {MERGEFIELD "STRPeriod1"}"" "{MERGEFIELD STRAmt1" \# R,0.00}¶"
""} {if {MERGEFIELD "STRPeriod2"}"" "{MERGEFIELD STRAmt2" \# R,
0.00}¶" ""}

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com"Fev" wrote in message

...



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- Hide quoted text -


- Show quoted text -


Thanks so much. Such a simple answer, and I have been looking at all
the complex answers.