Reply
 
Thread Tools Display Modes
  #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
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Word wrap mailmerge fields in a table

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


  #3   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

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.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrap Text in Table in Word '07 Not Working bla50613 Microsoft Word Help 1 May 7th 08 11:10 AM
Order of data fields in mailmerge from access table Hannah Mailmerge 1 March 9th 08 07:42 AM
How do I force text to wrap to the next row in a Word table? AdrienneC Tables 1 August 31st 07 07:08 PM
Word wrap in a table Steven Microsoft Word Help 1 August 25th 07 12:59 AM
How do I use word wrap text outside a table Patty1017 Tables 1 April 21st 05 06:33 PM


All times are GMT +1. The time now is 08:56 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"