Avatar

Level 10

Also, looking at your script I would say that the Year0 object is on the Master Page and therefore if the script is in an object on the Design pages, then you will definitely need to resolve the node (see examples on xfa.resolveNode).

Using Control+Click will do this for you automatically.

Niall