<?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: Automatically populating lat &amp;amp; long fields when a pt is captured in the field on in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/automatically-populating-lat-amp-amp-long-fields/m-p/298704#M2163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi use this when initialising the form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;'---- If statement in the form initialisation to determine which coords to use
If Application.UserProperties ("AddPoint_ToolUsed")="addpoint" then
&amp;nbsp; objEFPageOneControls("EASTING").value = FormatNumber(Map.PointerX,2,-2,-2,0)'FormatNumber(Map.PointerX,2)
&amp;nbsp; objEFPageOneControls("NORTHING").value = FormatNumber(Map.PointerY,2,-2,-2,0)'FormatNumber(Map.PointerY,2)
&amp;nbsp; Application.UserProperties ("AddPoint_ToolUsed")=""
else
&amp;nbsp; objEFPageOneControls("EASTING").value = FormatNumber(GPS.X,2,-2,-2,0)'FormatNumber(GPS.X,2)
&amp;nbsp; objEFPageOneControls("NORTHING").value = FormatNumber(GPS.y,2,-2,-2,0)'FormatNumber(GPS.Y,2)
end if
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:20:22 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-11T14:20:22Z</dc:date>
    <item>
      <title>Automatically populating lat &amp;amp; long fields when a pt is captured in the field on GPS</title>
      <link>https://community.esri.com/t5/arcpad-questions/automatically-populating-lat-amp-amp-long-fields/m-p/298702#M2161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&amp;nbsp; I am trying to figure out how to populate a field in an attribute table of a shapefile on a GPS using ArcPad 7.1.&amp;nbsp; When I capture a point, I want the X &amp;amp; Y (long &amp;amp; lat) fields to be populated with the coordinates automatically.&amp;nbsp; I know that the coordinates are imbedded in the file, and the fields can be populated by Calculate Geometry in ArcMap, but I want the fields of the shapefiles to automatically be (calculated and then) populated with the coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&amp;nbsp; Or will I be stuck Calculating Geometry for the fields after I bring the files back to the office and put them onto my computer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tampa, FL&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 13:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/automatically-populating-lat-amp-amp-long-fields/m-p/298702#M2161</guid>
      <dc:creator>JasonWinoker</dc:creator>
      <dc:date>2010-09-02T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populating lat &amp; long fields when a pt is captured in the field on</title>
      <link>https://community.esri.com/t5/arcpad-questions/automatically-populating-lat-amp-amp-long-fields/m-p/298703#M2162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi.&amp;nbsp; I am trying to figure out how to populate a field in an attribute table of a shapefile on a GPS using ArcPad 7.1.&amp;nbsp; When I capture a point, I want the X &amp;amp; Y (long &amp;amp; lat) fields to be populated with the coordinates automatically.&amp;nbsp; I know that the coordinates are imbedded in the file, and the fields can be populated by Calculate Geometry in ArcMap, but I want the fields of the shapefiles to automatically be (calculated and then) populated with the coordinates.&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&amp;nbsp; Or will I be stuck Calculating Geometry for the fields after I bring the files back to the office and put them onto my computer?&lt;BR /&gt;&lt;BR /&gt;Jason&lt;BR /&gt;Tampa, FL&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a script on ArcScripts which may help you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=16785"&gt;http://arcscripts.esri.com/details.asp?dbid=16785&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 21:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/automatically-populating-lat-amp-amp-long-fields/m-p/298703#M2162</guid>
      <dc:creator>KhalidMehmood</dc:creator>
      <dc:date>2010-09-02T21:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically populating lat &amp; long fields when a pt is captured in the field on</title>
      <link>https://community.esri.com/t5/arcpad-questions/automatically-populating-lat-amp-amp-long-fields/m-p/298704#M2163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi use this when initialising the form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;'---- If statement in the form initialisation to determine which coords to use
If Application.UserProperties ("AddPoint_ToolUsed")="addpoint" then
&amp;nbsp; objEFPageOneControls("EASTING").value = FormatNumber(Map.PointerX,2,-2,-2,0)'FormatNumber(Map.PointerX,2)
&amp;nbsp; objEFPageOneControls("NORTHING").value = FormatNumber(Map.PointerY,2,-2,-2,0)'FormatNumber(Map.PointerY,2)
&amp;nbsp; Application.UserProperties ("AddPoint_ToolUsed")=""
else
&amp;nbsp; objEFPageOneControls("EASTING").value = FormatNumber(GPS.X,2,-2,-2,0)'FormatNumber(GPS.X,2)
&amp;nbsp; objEFPageOneControls("NORTHING").value = FormatNumber(GPS.y,2,-2,-2,0)'FormatNumber(GPS.Y,2)
end if
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/automatically-populating-lat-amp-amp-long-fields/m-p/298704#M2163</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T14:20:22Z</dc:date>
    </item>
  </channel>
</rss>

