Re: Surpress Blank Line




Thanks Graham, this worked a treat

"Graham Mayor" wrote:

The following will work, provided you only press enter where you see ¶ as
the true line length will be affected by the message line length limits.

It would be preferable to use inter paragraph spacing that pressing enter
twice, but this will do what you asked.

{ IF{ MERGEFIELD COURSE_ID \*Upper} = "JDP106" "Thank you for all the hard
work¶

We now wish you luck with your JDP Part 2 Activities.¶

Once again many congratulations " "{ IF { MERGEFIELD COURSE_ID \*Upper} =
"JDP011" "Thank you for all the hard work¶

We now wish you luck with your JDP Part 1 Activities.¶

Once again many congratulations " "Thank you for all the hard work¶

Once again many congratulations " }"}¶


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>



Dave C wrote:
I've looked through other posts but can't find a specific reference
to what I need to achieve - sorry if I missed it.

I have an if statement that prints different text dependant upon the
value in a merge field - see below

{IF {MERGEFIELD COURSE_ID \*UPPER} = "JDP106" "We now wish you luck
with your JDP Part 2 Activities." "{IF {MERGEFIELD COURSE_ID \*UPPER}
= "JDP011" "We now wish you luck with your JDP Part 1 Activities." ""
}}

The "We now wish ........" is the only content of the line (25); my
problem is that there is a third potential value (JDP206) in the
merge field where I don't need to print anything and, in this case,
need what is normally printed on line 27 to be printed on line 25
instead. Please see the following examples of the current and desired
situation
...................................................................................................
Current Example - Print from if statement

Thank you for all the hard work ........ (line 23)

We now wish you luck with your JDP Part 2 Activities. (line 25)

Once again many congratulations. (line 27)

...................................................................................................
Current Example - Nothing to print from if statement

Thank you for all the hard work .......... (line 23)



Once again many congratulations. (line 27)

...................................................................................................
Desired Example - Nothing to print from if statement

Thank you for all the hard work .......... (line 23)

Once again many congratulations. (line 25)

...................................................................................................

Thanks in advance for any help/solutions that are offered.

Dave



.



Relevant Pages

  • Re: OT - Job Update and Final!
    ... Congratulations! ... I hope she knows how luck she is that you opted to ... have an understanding. ... I refer to her because in her words she has final say. ...
    (rec.crafts.textiles.quilting)
  • Re: First mystery novel written! Woohoo!!!
    ... Just wanted to get up on my chair and yell, "First mystery novel ... Congratulations and good luck! ... (writing is too much like *work* to ...
    (rec.arts.mystery)
  • Re: Im going in. Somebody cover me!
    ... >>> Me and the Mouse rode up to Eureka Springs AR yesterday. ... >>>We're getting married so wish us luck! ... >>Congratulations and the very best wishes for the ...
    (rec.motorcycles.harley)
  • Re: Got a new job :)
    ... Congratulations! ... And Good Luck! ... Unicycle in Brazil! ...
    (rec.sport.unicycling)
  • Re: tossing pancakes
    ... Life is exciting. ... Congratulations and good luck! ... my shoulder the other day, and now has surreal suggestions for getting ...
    (rec.arts.sf.composition)