RecordExit Event

Microsoft Office Web Components Visual Basic

Private Sub Object_RecordExit(DSCEventInfo As DSCEventInfo)

Object    The name of the DataSourceControl object that this event applies to.

DSCEventInfo    The DSCEventInfo object that contains information about the event.

Remarks

This event occurs after the BeforeUpdate event, but before the record is changed.

In the case of a banded data access page, moving among child records for the same parent does not fire this event.

Setting the ReturnValue property of the DSCEventInfo object to False cancels this event and prevents the record from being changed.

Use the DataPage and Section properties of the DSCEventInfo object to determine the data access page, section, and recordset that was updated.