A simple but quite cool tip I want to describe here quickly once.
If you want to have a display based on a calculation, I have always had to “sacrifice” a separate calculation field.
For example, you want to show the number of ids in a field to the user.
Then I have actually always built a calculation field exclusively for this display.
I always found that overdone for a simple display in a layout.
Now I had to do more often with the button bars. Here you can specify the button label via a formula.
Then I had the idea that this button bar can also be used as a display with invisible button bar (without script assignment).
This saves a field, but I suspect that it will not bring any performance advantages.
Here is the trick with a concrete example:
You have a textfield “Ids” in which a multikey of Ids is stored and you want to show the user the number of Ids.
Then you can create a button bar that has a transparent background and no borders in every state (mouseover/activ/inactiv etc.) with the following calculation
If ( ValueCount ( Main::Ids ) > 0 ; "Number of Ids " & ValueCount ( Main::Ids ) ; "" )
that simply display the number.