# Report.Break() Method
> Version: _Available or changed with runtime version 1.0._
Exits from a loop or a trigger in a data item trigger of a report or XmlPort.
## Syntax
```al
 Report.Break()
```
## Parameters
Report
Type: report-data-type
An instance of the report-data-type data type.
## Remarks
BREAK causes the current trigger to end. When used inside a loop, such as a WHILE-DO or REPEAT-UNTIL construction, BREAK interrupts the loop and causes the current trigger to end.
Compare this with the QUIT Method \(Report, XMLport\)<reportinstance-quit-method>.
> NOTE
> BREAK still calls remaining triggers for the current record, but the record is omitted from the dataset.
> TIP
> You can also use the AL BREAK Statement<../../devenv-al-control-statements> to exit an iteration or loop. The difference is that the BREAK statement does not terminate the trigger. It just exits the loop.
## Example
```al
var
    MyVar: Integer;
    Text000: Label "The variable is now %1.";
begin
    MyVar := 0;
    repeat
      MyVar := MyVar + 1;
      if MyVar = 5 then
        CurrReport.BREAK;
      Message(Text000,MyVar);
    until Myvar = 10;
    Message('After REPEAT-UNTIL loop'); //This statement is never called.
end;
```
When you run the previous code, the loop will end when MyVar is 5 and the execution of the current trigger ends. Statements after the loop are not executed.
## Related information
report-data-type
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/report/reportinstance-break-method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/report/reportinstance-break-method/
