Calculations are the hardest thing for me to wrap my head around and now I'm stuck on a calculation to select a specific layout in a GTTR function. I'm using GTTR function to select a record in a related table. However I want to select the specific layout that record should be displayed in according to a selection in another field with a value list. The selected value determines the proper layout. I can write a script to create a new record with the correct layout based on this field selection but when I use the GTTR in a portal to review that record, it doesn't pick the appropriate layout without the calculation.
Any ideas out there?