How does one add an attribute to an item in a newly added feature?

I have a table to which I added 7 Circles (all are supposed to be on top of one 
another). I need to add a value to each one in a column called "Interval".
Below is the code snippet that creates the circles.

    Dim lPosX As Long
    Dim lPosY As Long
    Dim objPt As New MapXLib.Point
    Dim ftrCircle As MapXLib.Feature
    Dim lyrPerformance As Layer
    Dim dsPerformance As Dataset
    Dim i As Integer

    Set lyrPerformance = Map1.Layers.Item("Performance")
    Set dsPerformance = Map1.Datasets.Add(miDataSetLayer, lyrPerformance, 
"Performance", "Interval")

    lPosX = 0
    lPosY = 90

    objPt.Set lPosX, lPosY

     'Create the circle feature
     Set ftrCircle = mapLandscape.FeatureFactory.CreateCircularRegion(1, objPt, 50, 0, 
12)
 
     'Add it to the map
     For i = 1 To 7
         lyrPerformance.AddFeature ftrCircle

         ***HERE is where I would like to add a value to the column interval (Actually 
the value of i).***

     Next i

Thank You

Tim Fast
GIS Specialist
Pioneer Hi-Bred International, Inc.



This communication is for use by the intended recipient and contains
information that may be privileged, confidential or copyrighted under
applicable law.  If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited.  Please notify the sender
by return e-mail and delete this e-mail from your system.  Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer.  This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.

 Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

            http://www.DuPont.com/corp/email_disclaimer.html



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9063

Reply via email to