OnFindRecord (Page) Trigger
Version: Available or changed with runtime version 1.0.
Overrides the default page behavior and enables you to specify which record you want to display when the page opens.
Syntax
trigger OnFindRecord(Which: Text): Ok
begin
...
end;
Parameters
Which
Type: Text
Text or code value with the following options:
- (a dash): First record,
- (a plus sign): Last record, =<>: Record defined in the Rec variable or the closest match.
Return Value
Ok
Type: Boolean
true if the specified record was found, otherwise, false.
Remarks
By default, open pages display the last record shown when the user exited the page. Use this trigger to override the default behavior and display the first record, last record, or a specific record as defined in the Rec
variable.
See Also
Get Started with AL
Developing Extensions
OnFindRecord (Request Page) Trigger
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈