FormDataSource.leaveRecord Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.