Reference > Script steps reference > Control script steps > End Loop
 

End Loop

Marks the end of a Loop script structure.

See also 

Options 

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Yes 

FileMaker WebDirect 

Yes 

FileMaker Server 

Yes 

FileMaker Cloud for AWS 

Yes 

FileMaker Data API 

Yes 

Custom Web Publishing 

Yes 

Runtime solution 

Yes 

Originated in 

FileMaker Pro 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.

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

Related topics 

Loop script step

Exit Loop If script step

Loop structure examples

Script steps reference (alphabetical list)

Script steps reference (category list)