Share via


DivideByField property

Returns the Field object for the field by which the DataFields property is divided. Set to "Nothing" if fields are not compared. Read-only.

Applies to

Objects:  DataMap

Syntax

object.DivideByField

Parameters

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

Example

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

    '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     If objDataMap.DivideByField Is Nothing Then       MsgBox "There is no divide-by field."     Else       MsgBox "Divide by field: " & objDataMap.DivideByField.Name     End If   End Sub