End Loop

Marks the end of a Loop script structure.

Options 

None.

Compatibility 

Product Supported
FileMaker Pro Yes
FileMaker Go Yes
FileMaker WebDirect Yes
FileMaker Server Yes
FileMaker Cloud products Yes
FileMaker Data API Yes
Custom Web Publishing Yes

Originated in version 

6.0 or earlier

Description 

Whenever you use a Loop script step, the script editing pane automatically enters an End Loop step. The steps between Loop and End Loop are automatically indented and the End Loop step is placed at the same indentation level as its corresponding Loop step.

Example 1 

Copies the data from Customers::Work Phone to Customers::Day Contact in all records.

Copy
Go to Record/Request/Page [First]
Loop
    Set Field [Customers::Day Contact; Customers::Work Phone]
    Go to Record/Request/Page [Next; Exit after last: On]
End Loop