OnFindRecord Trigger

Overrides the default form behavior and enables you to specify which record you want to display when the form opens.


[Ok]:= OnFindRecord(Which)

Parameters

Which

Text or code value with the following options:

Parameter ValueResult

- (a dash)

First record

+ (a plus sign)

Last record

=><

Record defined in the Rec variable or the closest match

Ok

(Boolean) Indicates whether the specified record was found.

  • Forms

  • Pages

By default, opened forms display the last record shown when the user exited the form. 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.

Community Additions

ADD
Show: