Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.39 KB

devenv-onbeforevalidateevent-page-trigger.md

File metadata and controls

44 lines (34 loc) · 1.39 KB
title description ms.author ms.date ms.tgt_pltfrm ms.topic author
OnBeforeValidateEvent (Page) Trigger Event
Executed before the OnValidate (Page fields) trigger, which is called when a field loses focus after its value has been changed.
solsen
03/11/2024
na
reference
SusanneWindfeldPedersen

OnBeforeValidateEvent (Page) Trigger Event

Version: Available or changed with runtime version 1.0.

Executed before the OnValidate (Page fields) trigger, which is called when a field loses focus after its value has been changed.

Syntax

[EventSubscriber(ObjectType::Page, Page::<Page Name>, 'OnBeforeValidateEvent', '<Control Name>', <SkipOnMissingLicense>, <SkipOnMissingPermission>)]
local procedure MyProcedure(var Rec: Record; var xRec: Record)
begin
    ...
end;

Parameters

Rec
 Type: Record
The table that raises the event.

xRec
 Type: Record
The table that raises the event.

See Also

Get Started with AL
Developing Extensions