AnsweredAssumed Answered

Execution sequence of Single step vs. Script for Button Setup

Question asked by ajmiller on Aug 10, 2009
Latest reply on Aug 12, 2009 by TSGal

Title

Execution sequence of Single step vs. Script for Button Setup

Post

I use FileMaker Pro 10

 

I have a layout (Layout A) used in list view that displays a list of records. Clicking on a row in the list clicks a transparent button that opens that record on a different layout (Layout B) using form view. I have On Record Load triggers set on both layouts. When I click a record in Layout A I expect the On Record Load trigger of Layout A to execute first, then switch to Layout B, and then have On Record Load in Layout B execute.

 

However, if the button uses a single step (either Go to Related Record or Go to Layout) the single step runs first and then the On Record Load of Layout A is triggered after the layout has switched to Layout B followed by On Record Load of Layout B. On the other hand, if I have the buttons on layout A do Perform Script on a script that contains a Go to Related Record step, I get the expected behavior. 

 

The button behavior with a single step is surprising to me. Is there any documentation on the ordering of button actions and triggers? 

Outcomes