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?
What does { PageRef D37} return?
If both these return what you would expect, try putting them both inside to give
{={ Page }-{ PageRef D37} }
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|