<?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 Using a Button to Write in a point's attribute in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/using-a-button-to-write-in-a-point-s-attribute/m-p/348542#M2517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm new to ArcPad and I would like to simply click a button on the Editform that will write to a new feature's field.&amp;nbsp; I've written the following code in the onclick event of a button on the Editform;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim objRS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set objRS = Map.SelectionLayer.Records&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objRS.Bookmark = ThisEvent.Bookmark&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objRS.Fields("Other").value = ("Apples")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objRS.Update&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where "Other" is the field that I'm writing to and "Apples" is the desired entry.&amp;nbsp; When I initially open the form, click the Button, and hit OK, the point is created without "Apple" being written in.&amp;nbsp; When I select the newly created point, however, the form comes back up and click on the same button will&amp;nbsp; write "Apples" to the "Other" field.&amp;nbsp; Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2012 19:17:28 GMT</pubDate>
    <dc:creator>BillTrask</dc:creator>
    <dc:date>2012-04-23T19:17:28Z</dc:date>
    <item>
      <title>Using a Button to Write in a point's attribute</title>
      <link>https://community.esri.com/t5/arcpad-questions/using-a-button-to-write-in-a-point-s-attribute/m-p/348542#M2517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm new to ArcPad and I would like to simply click a button on the Editform that will write to a new feature's field.&amp;nbsp; I've written the following code in the onclick event of a button on the Editform;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim objRS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set objRS = Map.SelectionLayer.Records&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objRS.Bookmark = ThisEvent.Bookmark&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objRS.Fields("Other").value = ("Apples")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objRS.Update&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where "Other" is the field that I'm writing to and "Apples" is the desired entry.&amp;nbsp; When I initially open the form, click the Button, and hit OK, the point is created without "Apple" being written in.&amp;nbsp; When I select the newly created point, however, the form comes back up and click on the same button will&amp;nbsp; write "Apples" to the "Other" field.&amp;nbsp; Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 19:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/using-a-button-to-write-in-a-point-s-attribute/m-p/348542#M2517</guid>
      <dc:creator>BillTrask</dc:creator>
      <dc:date>2012-04-23T19:17:28Z</dc:date>
    </item>
  </channel>
</rss>

