DataRanges property

Returns the DataRanges collection for the data map. Read-only.

Applies to

Objects:  DataMap

Syntax

object.DataRanges

Parameters

Part Description
object Required. An expression that returns a DataRanges collection.

Example

    Sub GetInfoAboutDataMap()
    Dim objApp As New mappoint.Application
    Dim objDataMap As mappoint.DataMap
    Dim objDataSet As mappoint.DataSet

    'Set up application and objects to use     objApp.Visible = True     objApp.UserControl = True
    'Let user create a data map     Set objDataMap = objApp.ActiveMap.DataSets.ShowDataMappingWizard()
    'Get information about the data map     MsgBox "Number of data ranges in the data map: " & _       objDataMap.DataRanges.Count   End Sub