N
nph12
Is there a field code for section break (next page)?
macropod said:Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}
--
Cheers
macropod
[MVP - Microsoft Word]
Is there not a field code for section break
nph12 said:What should {QUOTE 12} do? Is there not a field code for section break?
What
about ^b, ^m or ^12?
macropod said:Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}
--
Cheers
macropod
[MVP - Microsoft Word]
Peter Jamieson said:No, but if you want to include one conditionally, you can put one
inside the
result of an if field, e.g.
{ IF { MERGEFIELD x } = "Y" "<put a page break character here" }
--
Peter Jamieson
http://tips.pjmsn.me.uk
Is there a field code for section break (next page)?
Peter Jamieson said:Unfortunately I have probably confused things by saying "page break" rather
than "section break". AFAIK { QUOTE 12 } inserts a page break, although
macropod may know otherwise.
Is there not a field code for section break
There isn't a /specialised/ field code for a section break, no. I think the
nearest you will get is to do something like
{ SET sb "<insert a section break here>" }
and use
{ REF sb }
to insert it. beware, because section breaks have a habit of turning into
"Next Page Sectionbreaks" when you do this, even when what you insert is
another type of break.
FWIW { QUOTE aa bb cc } inserts the characters corresponding to aa, bb, cc
e.g. if the font is set to Arial Unicode MS, then
{ QUOTE 65 66 67 0x2780 }
inserts ABC followed by a circled 1.
--
Peter Jamieson
http://tips.pjmsn.me.uk
nph12 said:What should {QUOTE 12} do? Is there not a field code for section break?
What
about ^b, ^m or ^12?
macropod said:Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}
--
Cheers
macropod
[MVP - Microsoft Word]
No, but if you want to include one conditionally, you can put one
inside the
result of an if field, e.g.
{ IF { MERGEFIELD x } = "Y" "<put a page break character here" }
--
Peter Jamieson
http://tips.pjmsn.me.uk
Is there a field code for section break (next page)?
nph12 said:Is it possible to add a section break (next page) by using VBA?
Peter Jamieson said:Unfortunately I have probably confused things by saying "page break" rather
than "section break". AFAIK { QUOTE 12 } inserts a page break, although
macropod may know otherwise.
Is there not a field code for section break
There isn't a /specialised/ field code for a section break, no. I think the
nearest you will get is to do something like
{ SET sb "<insert a section break here>" }
and use
{ REF sb }
to insert it. beware, because section breaks have a habit of turning into
"Next Page Sectionbreaks" when you do this, even when what you insert is
another type of break.
FWIW { QUOTE aa bb cc } inserts the characters corresponding to aa, bb, cc
e.g. if the font is set to Arial Unicode MS, then
{ QUOTE 65 66 67 0x2780 }
inserts ABC followed by a circled 1.
--
Peter Jamieson
http://tips.pjmsn.me.uk
nph12 said:What should {QUOTE 12} do? Is there not a field code for section break?
What
about ^b, ^m or ^12?
:
Or you could use:
{IF{ MERGEFIELD x}= "Y" {QUOTE 12}}
--
Cheers
macropod
[MVP - Microsoft Word]
No, but if you want to include one conditionally, you can put one
inside the
result of an if field, e.g.
{ IF { MERGEFIELD x } = "Y" "<put a page break character here" }
--
Peter Jamieson
http://tips.pjmsn.me.uk
Is there a field code for section break (next page)?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.