Skip to content

Entry_Autofind - DfBaseEntry

Sent when an item with an autofind or autofind_ge option is exited after a change has been made to the data in the window

Type: Procedure

Parameters

Parameter Type Description
eFindMode Integer ConstantMeaning

Syntax

Procedure Entry_Autofind Integer eFindMode

Call Example

Send Entry_Autofind eFindMode

Description

When an item with an autofind or autofind_ge option is exited after a change has been made to the data in the window, the entry_autofind message is sent. If the autofind is successful, then the data is displayed by the entry_display message, otherwise the find error condition is cleared and the message returns. Although this message would rarely be coded in an application with the send command, it may be augmented to place information in the record buffer prior to the find, or to display the information in a custom way (or not at all).

procedure entry_autofind integer find_mode
    move user_name to transaction.created_by
    forward send entry_autofind find_mode
end_procedure