Changing layout based on field value
I've been struggling with a script to change layout if a certain value exists on a field. The idea is that this specific value triggers another table occurrence - hence the need to change layout.
My problem is that all my efforts seems to loop the script (based on OnLoadRecord). A script example or alternative solutions to solve this will be most appreciated.