Quote:
Originally Posted by Guessed
Forget the macro if you don't have the confidence to run it.
To debug your flawed nested fields, try each field on their own
What does { Page } return?
|
It returns '6', which is correct. (This is page 6, and the 2nd page of the 2nd section.)
Quote:
Originally Posted by Guessed
What does { PageRef D37} return?
|
It returns '4', which is correct. (Page D37 is the bookmark for the last page of section one, which is page 4.)
Quote:
Originally Posted by Guessed
If both these return what you would expect, try putting them both inside to give
{={ Page }-{ PageRef D37} }
|
When used individually, they each give correct returns.
When used together as you show above it gives syntax error.