I am looking at the “Time Cards” template database that ships with FileMaker. Specifically the “Record List” layout. Next to each name in the list is a button with a script associated with it. I can see that the script in this case is “Go to Record Detail”. And when I look at that script I see it contains:
(my apologies for using pictures but FileMaker won’t let me copy and paste the text.
I understand what both of those lines do. The first opens the target layout. The second runs another script. That script contains:
And that makes sense, it is looking to place focus on the correct text box for today’s date.
But what I don’t understand is how the “Record Detail” layout was pointed to the correct record in the first place. I don’t see any sort of parameter being paced to link the record in the “Record List” layout to navigate the “Record Detail” layout to that record. I am sure there is something obvious I am missing, but… I am missing it.
To be clear what I am asking for, I am trying to wrap my head around how THIS sample TimeCard database accomplishes this, not other ways to do it.
Thanks in advance,