> Is there a way to set the section number in the middle of a document?
Only by adjusting the number of preceding Sections to suit. Not practical if
you're trying to count only 'next/odd/even page' Sections breaks, for
example, and continuous Section breaks are used elsewhere.
However, if each Section that you want to count starts with a numbered
heading (eg 'Heading 1' style) that isn't used elsewhere in those Sections,
you could use a STYLEREF field coded as '{STYLEREF "Heading 1" \n}', for
example, to retrieve the heading numbers.
Cheers

Signature
macropod
[MVP - Microsoft Word]
> I probably already know the answer (can't want that) but I just have to ask
> anyway.
[quoted text clipped - 8 lines]
>
> Clues?
MyndPhlyp - 06 Nov 2006 01:14 GMT
> > Is there a way to set the section number in the middle of a document?
> Only by adjusting the number of preceding Sections to suit. Not practical if
[quoted text clipped - 5 lines]
> you could use a STYLEREF field coded as '{STYLEREF "Heading 1" \n}', for
> example, to retrieve the heading numbers.
Yeah, kinda figured it would be a workaround like that. I would have even
settled for something like a Count(Section) - 1 or something along that
line. Who woulda thought somebody might not want to count the cover and TOC
sections in a document? But page numbers... that's an obvious one, right?
Thanks.
macropod - 06 Nov 2006 01:54 GMT
If 'Count(Section) - 1' is all you need, you could use a formula field coded
as '{={SECTION}-1 \# 0;;}. The ';;' suppresses -ve and 0 results.
Cheers

Signature
macropod
[MVP - Microsoft Word]
> > > Is there a way to set the section number in the middle of a document?
> > Only by adjusting the number of preceding Sections to suit. Not practical
[quoted text clipped - 14 lines]
>
> Thanks.
MyndPhlyp - 06 Nov 2006 02:46 GMT
> If 'Count(Section) - 1' is all you need, you could use a formula field coded
> as '{={SECTION}-1 \# 0;;}. The ';;' suppresses -ve and 0 results.
Cool. Thanks again.