AfterUpdate Event

Occurs after a record is updated with new data or the record loses focus.

Private Sub Object_AfterUpdate(ByVal DSCEventInfo As DSCEventInfo)

Object    A DataSourceControl object.

DSCEventInfo    The DSCEventInfo object that contains information about the event.

Remarks

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

Example

This example displays information about the section that contains the record that was updated.

Sub MSODSC_AfterUpdate(DSCInfo)

    MsgBox DSCInfo.Section.HTMLContainer.All(1).InnerText

End Sub

Applies to | DataSourceControl Object

See Also | BeforeUpdate Event | DataPage Property | DSCEventInfo Object | Section Property