<?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 Retrieve OBJECTID from selected feature in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/retrieve-objectid-from-selected-feature/m-p/429874#M3077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I retireve the OBJECTID from the selected feature?&amp;nbsp; If I just dropped a new feature is the UNIQUEID created or is is created on save/update ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doin this to get the attrobute values from the form but need the objectID as well.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim objRS, objSelLayer, objEFPageOneControls3, objEditForm3
Set objSelLayer = Map.SelectionLayer
Set objRS = objSelLayer.Records


 objRS.Bookmark = Map.SelectionBookmark

 Set objEditForm3 = application.map.layers("Retaining_Walls").forms("EDITFORM")
 Set objEFPageOneControls3 = objEditForm3.Pages("page1").Controls

 Dim IDValue 
 IDValue = objEFPageOneControls3("txtUniqueID").Value&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Apr 2010 12:32:47 GMT</pubDate>
    <dc:creator>JayKappy</dc:creator>
    <dc:date>2010-04-29T12:32:47Z</dc:date>
    <item>
      <title>Retrieve OBJECTID from selected feature</title>
      <link>https://community.esri.com/t5/arcpad-questions/retrieve-objectid-from-selected-feature/m-p/429874#M3077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I retireve the OBJECTID from the selected feature?&amp;nbsp; If I just dropped a new feature is the UNIQUEID created or is is created on save/update ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doin this to get the attrobute values from the form but need the objectID as well.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Dim objRS, objSelLayer, objEFPageOneControls3, objEditForm3
Set objSelLayer = Map.SelectionLayer
Set objRS = objSelLayer.Records


 objRS.Bookmark = Map.SelectionBookmark

 Set objEditForm3 = application.map.layers("Retaining_Walls").forms("EDITFORM")
 Set objEFPageOneControls3 = objEditForm3.Pages("page1").Controls

 Dim IDValue 
 IDValue = objEFPageOneControls3("txtUniqueID").Value&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Apr 2010 12:32:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/retrieve-objectid-from-selected-feature/m-p/429874#M3077</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2010-04-29T12:32:47Z</dc:date>
    </item>
  </channel>
</rss>

