View Single Post
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default How do I insert a carriage return in a MERGEFIELD?

It works here, except the carriage return itself always appears.

But you can also do it using the more complicated:

{ IF "{ MERGEFIELD AWARDSCH_DESC2 }" = "" "" "SCHOLARSHIPS
{ MERGEFIELD AWARDSCH_DESC2 }" }

where all three pairs of {} are the special field codes youcan insert using
ctrl-F9


--
Peter Jamieson
http://tips.pjmsn.me.uk

"Tanya" wrote in message
...
Hi Peter,

I tried this and it does not work.

"Peter Jamieson" wrote:

Put the SCHOLARSHIPS inside quotes, e.g.

{ MERGEFIELD AWARDSCH_DESC2 \b "SCHOLARSHIPS" }

then add a carriage return immediately before the second ", in the usual
way, so you have

{ MERGEFIELD AWARDSCH_DESC2 \b "SCHOLARSHIPS
" }

--
Peter Jamieson
http://tips.pjmsn.me.uk

"Tanya" wrote in message
news
I have inserted the following field code{ MERGEFIELD AWARDSCH_DESC2 \b
SCHOLARSHIPS}. However I would like the MERGEFIELD TO APPEAR ON THE
NEXT
LINE. E..I
SCHOLARSHIPS
MERGEFIELD AWARDSCH_DESC2

I do not want Scholarships to show up uless there is something in the
MERGEFIELD AWARDSCH_DESC, so I used teh \b switch.