Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
fredsin fredsin is offline
Junior Member
 
Posts: 0
Default merge fields at bottom of document causing two pages

Hello,

I need to include a series of IF statements at the bottom of a letter that inserts text based on a change in value for a mergefield.

For example, if the mergefieldAppeal=Running event, I want the text to read "Running event tax deduction is $10." And if is doesn't, nothing. If the mergefieldAppeal= Walking Event, I want the text to read "Walking event tax deduction is $20." If it doesn't, nothing. And on and on.

I want to add an unlimited number of these statements at the end of the letter, because we have many events. When the event that satisfies the IF statement is present as the Appeal, the text will appear for that event. So I have a string of IF statements like this:

{IF{MERGEFIELD Appeal_Descrition}="Running Event" "Running event tax deduction is $10" ""}{IF{Mergefield Appeal_Description}="Walking Event" "Walking event tax decution is $20" ""}...and on....

This works just fine in placing the proper text on the change of the mergefield value, but since the merge strings run over onto the next page, Word is spitting out a two page document instead of consolidating it onto one. The placement of the merged text is just fine....but it still creates lines that run onto a second page. How do I avoid those extra lines from generating in the merged document? I've looked all over the web for an answer, but have yet to find one that addresses this particular type of spacing issue.

Many thanks in advance for your help.
 
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
Can I modify a field causing global change to all "linked" fields ScriptOhio Microsoft Word Help 1 June 5th 08 09:25 PM
What is causing a Word document to change when I open it? PA Bob Microsoft Word Help 2 January 4th 07 06:36 PM
Why is my enter key causing the cursor to go to bottom of page? c kiser Page Layout 1 August 15th 06 08:13 PM
Mail merge fields at the bottom of the page Gilley Mailmerge 2 July 19th 06 08:54 PM
merge csv and I get pages full of fields, not one per page .:mmac:. Mailmerge 5 April 4th 05 10:39 PM


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

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

About Us

"It's about Microsoft Word"