Need revision to "putting IF field in table", please

E

Ed

Macropod and Greg Maxey helped me with a field in a table cell. The table
covers about 45 pages, and must have a header strip that declares
"(continued)" or "(concluded)". The idea was to detect if the page was the
first page, the last page, or a page in between, and put the proper
declaration (or leave it blank). The field formula (that works great!) is:
{IF{PAGE}="1" "" {IF{PAGE}={SECTIONPAGES} "(concluded)" "(continued)"}}

Now, I have to put *two* such tables in one document. I figure the obvious
way is to insert a Section Break (Next Page), and the formula will work,
right? Not so. So now this needs to calculate:
IF this is Page 1 of this Section, ""; IF the Page number in this Section =
total no. pages in this Section, "(concluded)", ELSE "(continued)"

Any help is appreciated.

Ed
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Ed,

Place a bookmark at the end of the table and compare the { PAGE } to a {
PAGEREF Boookmarkname } field.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
E

Ed

Thanks, Doug. I'll play with that and see what happens.

Ed

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS"
 

Ask a Question

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.

Ask a Question

Top