Hi Dave
Can I use the field code SECTIONPAGES to show the number of pages in a
particular section? If so, how do I do it?
The SECTIONPAGES field always shows the number of pages of the _current_
section.
If you need that anywhere else, there are a couple of ways to get there
I'm sure. You could bookmark a SECTIONPAGES field in the desired section
and replicate it elsewhere with a cross-reference.
[You can set it to white font color if you don't like to show the
information in the section itself, and force a normal font color via
CHARFORMAT switch to the REF field if need be.]
Or you can bookmark the last character of the section and use a PAGEREF
to that to get the page number (that works if the section restarts
numbering at one; else you need to calculate the page number by
referencing the first character of the section, too).
HTH
Robert