Name property (DataRange)

Returns the name of the DataRange object. Read-only String.

Applies to

Objects:  DataRange

Syntax

object.Name

Parameters

Part Description
object Required. An expression that returns a DataRange object.

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 "The first range name is: " & _       objDataMap.DataRanges(1).Name   End Sub