FormDataSource.leaveRecord Method

Provides notification when the focus moves to another record or item in the form.

Syntax

public boolean leaveRecord([boolean forceUpdate])

Run On

Client

Parameters

Return Value

Type: boolean
true if the operation succeeds; otherwise, false.

Remarks

The method might fail and return false if changes could not be validated or written.

It is recommended that you not override this method. Instead, override the FormDataSource.leave method.

If you do override the leaveRecord method, you must call the super method to make sure that the kernel implementation of the method is executed.

See Also

FormDataSource Class

FormDataSource.leave Method