<?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 Autocalculate numeric field on form created in ArcPad Studio 7 in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/autocalculate-numeric-field-on-form-created-in/m-p/24686#M173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'm sure this is relatively easy but could use some help. I am customizing forms in ArcPad Studio 7 to collect noxious weed data. The user enters a radius in meters and I would like to automatically calculate the radius_ft field based on the value (in meters) assigned by the field staff. Thanks for any assistance. Amy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Apr 2010 17:08:44 GMT</pubDate>
    <dc:creator>AmyLavender</dc:creator>
    <dc:date>2010-04-22T17:08:44Z</dc:date>
    <item>
      <title>Autocalculate numeric field on form created in ArcPad Studio 7</title>
      <link>https://community.esri.com/t5/arcpad-questions/autocalculate-numeric-field-on-form-created-in/m-p/24686#M173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'm sure this is relatively easy but could use some help. I am customizing forms in ArcPad Studio 7 to collect noxious weed data. The user enters a radius in meters and I would like to automatically calculate the radius_ft field based on the value (in meters) assigned by the field staff. Thanks for any assistance. Amy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 17:08:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/autocalculate-numeric-field-on-form-created-in/m-p/24686#M173</guid>
      <dc:creator>AmyLavender</dc:creator>
      <dc:date>2010-04-22T17:08:44Z</dc:date>
    </item>
    <item>
      <title>Autocalculate numeric field on form created in ArcPad Studio 7</title>
      <link>https://community.esri.com/t5/arcpad-questions/autocalculate-numeric-field-on-form-created-in/m-p/24687#M174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the "onchange" event of that editbox to call a method in your script. Have another editbox for radius_ft on your form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Sub DisplayFeet()
&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim objControl, objPage, Meters, Feet

&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get the control, page objects
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objControl = ThisEvent.Object
&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objPage = ThisEvent.Object.Parent
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Meters = objControl.Value
&amp;nbsp;&amp;nbsp;&amp;nbsp; Feet = Meters * 3.2808399

&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Display the value on a editbox control named "edtFeet" on the same page
&amp;nbsp;&amp;nbsp;&amp;nbsp; objPage.Controls("edtFeet").Value = Feet &amp;amp; "ft"
End Sub&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not tested but should get you where you want to go.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/autocalculate-numeric-field-on-form-created-in/m-p/24687#M174</guid>
      <dc:creator>RobChouinard</dc:creator>
      <dc:date>2021-12-10T21:00:25Z</dc:date>
    </item>
  </channel>
</rss>

