Share via


FormDataSource.leaveRecord Method

Definition

Overloads

leaveRecord()

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

leaveRecord(Boolean)

leaveRecord()

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

public:
 override bool leaveRecord();
public override bool leaveRecord ();
override this.leaveRecord : unit -> bool
Public Overrides Function leaveRecord () As Boolean

Returns

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.

Applies to

leaveRecord(Boolean)

public:
 override bool leaveRecord(bool _forceUpdate);
public override bool leaveRecord (bool _forceUpdate);
override this.leaveRecord : bool -> bool
Public Overrides Function leaveRecord (_forceUpdate As Boolean) As Boolean

Parameters

_forceUpdate
Boolean

Returns

Applies to