SearchEdit property: RecordFieldDefn class

Description

If this property is set to True, SearchEdit enables system edits (edits specified in the record field definition) for the field, for the life of the search dialog box. Setting SearchEdit to False disables system edits. In the Add mode search dialog box, the following edits are performed when the end-user selects the Add button. In any other mode, the following edits are performed when the end-user selects the Search button:

  • Formatting

  • Required Field

  • Yes/No Table

  • 1/0 Table

  • Translate Table

  • Prompt Table

SearchEdit does not cause the FieldEdit, FieldChange, or SaveEdit PeopleCode events to fire during the search dialog.

You may use SearchEdit to control access to the system. For example, you can apply this property to the SETID field of a dialog box and require the user to enter a valid SETID before they are able to click OK on the search dialog box.

The default value is False.

This property is read/write.

Example

&recField.SearchEdit = True;