<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating features in ArcPad 10.2 have no attributes in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/creating-features-in-arcpad-10-2-have-no/m-p/494121#M3592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am running into this right now - is there any resolution or workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my situation I am simply updating values in the onfeatureadded event.&amp;nbsp; I have tried other places in the event stack and it doesn't work there either.&amp;nbsp; Everything work as expected in 10.0.4 and earlier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 19:47:03 GMT</pubDate>
    <dc:creator>ChuckWright</dc:creator>
    <dc:date>2014-04-25T19:47:03Z</dc:date>
    <item>
      <title>Creating features in ArcPad 10.2 have no attributes</title>
      <link>https://community.esri.com/t5/arcpad-questions/creating-features-in-arcpad-10-2-have-no/m-p/494120#M3591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I seem to be running into some issues migrating my code from 10.0.4 to 10.2.&amp;nbsp; Here is an example of code that is causing some issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Sub CreateSquare
 Dim objSmpSqr, siteID, sqrID, nEast, nNorth, sizeX, sizeY, myRect

 'Assigning values to variables
 siteID = "Trial"
 sqrID = 1
 nEast = 389900
 nNorth = 6446055
 sizeX = 5
 sizeY = 5

 'Calcualting rectangle extent
 Set myRect = Application.CreateAppObject("rectangle")
 myRect.Left = nEast
 myRect.Right = nEast + sizeX
 myRect.Top = nNorth
 myRect.Bottom = nNorth - sizeY

 'Creating feature
 Application.Map.Layers("Sample Squares").Editable = True
 Application.Map.AddFeature myRect, False

 'Assigning values to attributes
 Set objSmpSqr = Map.SelectionLayer.Records
 objSmpSqr.Bookmark = Map.SelectionBookmark
 objSmpSqr.Fields("SITE_ID").Value = siteID
 objSmpSqr.Fields("Square_ID").Value = sqrID
 objSmpSqr.Fields("EASTING").Value = nEast
 objSmpSqr.Fields("NORTHING").Value = nNorth
 objSmpSqr.Fields("Area_m2").Value = myRect.Area
 objSmpSqr.Fields("SizeX").Value = sizeX
 objSmpSqr.Fields("SizeY").Value = sizeY
 objSmpSqr.Update

 'Cleanup
 Application.Map.Layers("Sample Squares").Editable = False
 Application.ExecuteCommand("clearselected")
 Set objSmpSqr = Nothing
 Set myRect = Nothing
End Sub&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In 10.0.4 the above code works fine, creating the feature and writing the values to the attributes.&amp;nbsp; In 10.2, the feature is created properly but none of the values are assigned to the attributes.&amp;nbsp; The feature has blank attributes.&amp;nbsp; Anyone know what has changed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 03:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/creating-features-in-arcpad-10-2-have-no/m-p/494120#M3591</guid>
      <dc:creator>DanikBourdeau</dc:creator>
      <dc:date>2013-09-09T03:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating features in ArcPad 10.2 have no attributes</title>
      <link>https://community.esri.com/t5/arcpad-questions/creating-features-in-arcpad-10-2-have-no/m-p/494121#M3592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am running into this right now - is there any resolution or workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my situation I am simply updating values in the onfeatureadded event.&amp;nbsp; I have tried other places in the event stack and it doesn't work there either.&amp;nbsp; Everything work as expected in 10.0.4 and earlier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 19:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/creating-features-in-arcpad-10-2-have-no/m-p/494121#M3592</guid>
      <dc:creator>ChuckWright</dc:creator>
      <dc:date>2014-04-25T19:47:03Z</dc:date>
    </item>
  </channel>
</rss>

