AfterUpdate Event

Microsoft Office Web Components Visual Basic

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