Thank you for the post.
To attempt to replicate this I created a new database with two related tables, A and B, and two layouts, A and B. I used the "OnLayoutExit" script trigger enabled in Preview mode only on layout B to perform the following script:Set Variable [$test; Value:B::B]Show Custom Dialog ["WORKS";$test]I created a single record in table A and a single record in table B. The record in Table B read "This Works." I entered preview mode while viewing layout B, then switched to layout A and my custom dialogue box displays "This Works."The behavior was unchanged with an "Enter Preview Mode" script step at the beginning set to "Pause."Am I possibly missing a step to replicate?TSFalconFileMaker, Inc.
OK, I feel like a fool now. I didn't have the script enabled in Preview mode...