MSODSC Property

Microsoft Access Visual Basic

MSODSC Property

       

Returns a DataSourceControl object.

expression.MSODSC

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

You must set a reference to the Microsoft Office Web Components type library in order to use this property.

Example

This example reports the version of Microsoft Office Web Components in use for the specified form. This example assumes that the current project contains a data access page, and that the data access page has a Microsoft Office Data Source control.

Dim objMSODSC As DataSourceControl

Set objMSODSC = DataAccessPages(0).MSODSC

MsgBox "Current version of Office Web Components: " _
    & objMSODSC.Version