Reference > Script triggers reference > OnRecordLoad
 
OnRecordLoad
Performs a script after a record is made current or is entered, such as after a user or script switches to a layout, switches records, opens a new window, creates or deletes a record, or performs a Find operation.
When the script runs
After the event has been processed.
Modes in which the trigger can be used
Browse and Find modes.
Result
None.
Compatibility 
 
Where the script trigger is activated 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
Yes 
FileMaker Go 
Yes 
Custom Web Publishing 
Yes 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 10.0
Notes
FileMaker Pro does not pass information regarding which record activated the script. You may want to use additional script triggers to capture that information.
See Actions that don’t activate script triggers for a list of actions that do not activate this script trigger.
Related topics 
Setting up script triggers
Setting script triggers for layouts
Setting script triggers for objects