Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Current Layout Calculation and Display


This topic is 6456 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

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 by Guest
Posted

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

Posted (edited)

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 by Guest
Posted

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

This topic is 6456 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.