OnAfterGetCurrRecord Trigger

Runs after the current record is retrieved from the table.

Syntax

trigger OnAfterGetCurrRecord()
begin
    ...
end;

Applies To

  • Pages

Remarks

In a page with a repeater control, the trigger is only called when the current record in the repeater is updated. OnAfterGetCurrRecord is called directly after all OnAfterGetRecord triggers are called for each row in a list.

If there is an error in the trigger code, then the page is closed.

Important

For pages of the type Card, List, ListPlus, Document, or Worksheet, the OnAfterGetCurrRecord trigger is called more than once if the page is opened in the edit mode and does not have any records to display. If the page is opened in the view mode or displays a record, the trigger is called only once.

See Also

Triggers
Page and Action Triggers