March 23, 200718 yr Hi, Forgive me for being a bit dim this morning, but I can't remember how to do this. I'd like to be able to use a <> to display the current layout with each of my layouts. However, I can't seem to get the calculation correct to make it actually work. Currently, I've created a calculation field called "Current Layout" and I've set it equal to: Get (Layout Name). This isn't working, as when I jump back into Browse mode, all I get where I should have a Layout Name, is a question mark. I am sure that I did this correctly in one of my recent projects, but I'll be damned if I can find it to copy from my own work! If one of you can please remind me of how to do this, I'd appreciate it. Thank you. Mac Hammer Edited March 23, 200718 yr by Guest
March 23, 200718 yr Author I have not made the field a Global. Though I just tried switching it to Global and I still get the ?. There seems to be plenty of room for the Layout Name to display. I've typed the name in the desired location and it fit with ample room to spare. Am I using the correct calculation argument? Thank you. Mac
March 23, 200718 yr I use a similar field to Get(WindowName) and I just noticed it is "Unstored" and it is a calculated field. I set the field as a "Merge Field" on the layout and it works fine. I see no reason why you should be having a problem. Perhaps someone wiser than I can help. "Do not evaluate if all fields are empty" is unchecked and Result = Text. Edited March 23, 200718 yr by Guest
March 23, 200718 yr Author OK, I changed the Storage option, choosing to Re-evaluate as needed, and it corrected the problem. Thank you for your prompt help. To summarize: Create a Field. We'll call it Current Layout. Then, make it a Calculation, using "Get (LayoutName)" as the calculation. Then, make the results equal Text. Set the storage option to Do not Store. Then, in your layout, use a Merge Field <> to display the calculated results. Thanks again! Mac
Create an account or sign in to comment