Page number and field codes

B

Bruce

When a document page starts at any number other than one I
would like the total pages to reflect appropriately. When
I check "Help" I get the following:

If the page numbering starts on a page number other than
1, use an = (Formula) field to compute the total page
number count. To determine the starting page number for
the active document, (StartingNumber), click Page Numbers
on the Insert menu, and then click Format.

Page { PAGE } of { = (StartingNumber - 1) + { NUMPAGES } }

When I do this I get the following error:

"!Undefined Bookmark, STARTINGN"

I've tried several different scenarios but all with the
same results. I know it's probably a very easy fix but
can anyone tell me what in blazes Im I doing wrong?

If this makes any difference this is located in the header
of the document. Thanks in advance.
 
B

Bruce

That would probably work but I really need to be able to
have the "starting number" put there by either a variable
or some other way of coding. But when I try a variable I
keep getting a syntax error no matter what I do. If you
have any other ideas I'd love to hear them.

Thanks
Bruce
 
M

macropod

Hi Bruce,

You could use an ASK field to set the startingnumber value:
{ASK startingnumber "What starting number to use?"}

Cheers
PS: Remove NO.SPAM from the above before replying.
 
L

Lars-Eric Gisslén

Bruce,

Could you put the starting page number in a document property and reference
it in your field? Might work.

Regards,
Lars-Eric
 

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