Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 1.0.
Determines the next record to be displayed.
Syntax
trigger OnNextRecord(Steps: Integer): ActualSteps
begin
...
end;
Parameters
Steps
Type: Integer
The number of records stepped through before displaying another record. A negative value indicates steps backwards.
Return Value
ActualSteps
Type: Integer
This return value contains the actual number of steps or records cycled through. The default value is 0.
Remarks
This trigger is executed in place of the default next record behavior.
If an error occurs in the trigger code, the page is closed.
Related information
Get Started with AL
Developing Extensions
OnNextRecord (Request Page) Trigger