In my file I have two related tables and 5 unrelated tables. I have 5 layouts. In the header I use: <<$$Title>>: <<$$LayoutName>> to display the script results. The scripts are
1. Set Variable [$$Title; Value: Get(FileName)]
And
2. Set Variable [$$LayoutName; Value: Get(LayoutName)]
Both scripts are combined into a single script that is triggered when "Entering" the layout.
The problem: Some layouts return the Layout Name incorrectly. eg. Layout = Futures Studies returns Futures and Layout = Contract Information returns Contract.
Thoughts?