Newbies mSquare Posted January 22, 2020 Newbies Posted January 22, 2020 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?
comment Posted January 22, 2020 Posted January 22, 2020 Are you sure the text object is wide enough to show the entire text? -- Note that all Get() functions can be placed on a layout directly: in your example, you could replace: <<$$Title>>: <<$$LayoutName>> with: {{FileName}}: {{LayoutName}} and do away with the script and the script trigger.
Newbies mSquare Posted January 22, 2020 Author Newbies Posted January 22, 2020 Problem Solved: I needed to expand the text box to show "All" of the information. 6 hours ago, comment said: Are you sure the text object is wide enough to show the entire text? -- Note that all Get() functions can be placed on a layout directly: in your example, you could replace: <<$$Title>>: <<$$LayoutName>> with: {{FileName}}: {{LayoutName}} and do away with the script and the script trigger. I like your recommendation, AND the solution to the initial problem. Thank you. Problem Solved.
Recommended Posts
This topic is 2114 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now