FieldComplement() As Long

Description

This event is fired right before a field is to receive a field complement in normal (full-screen) mode in Verify. This occurs for example when the user presses F6.

If the FORMS’ dialog is replaced by an external one, EV_OK_ABORT must be returned. To tell Verify whether to pause or to continue to the next field, SetReturnValue must be used. To make Verify pause and let the user access the menus and commands, set the extended return value using Application.SetReturnValue(0, "C"). To make Verify continue, just return the EV_OK_ABORT. You can also use Application.SetReturnValue(0, "O") to make Verify continue to the next field.

Parameters

None.

Return values

Return value

Description

EV_OK

Normal return.

EV_OK_ABORT 

The normal dialog is skipped. SetReturnValue might be used.

EV_ERROR

Causes an error message and job termination.

Suggested usage

Could be used for replacing the normal field complement dialog with a user-defined version.

Remarks

Only fired in the Verify module.

Field-level events