<?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 Form to vbs back to form, ArcPad10 in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664303#M4802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is very little documentation on using vbscript within a layer form.&amp;nbsp; Any help with syntax would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within my subroutine, I want to grab some numerical data entered in a control box on the form.&amp;nbsp; Will this Set command grab the data that was input and assign it to the variable el1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sub getdata&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Dim el1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set el1 = EDITFORM.Pages.Item("page4").Controls.Item("element1")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To bring data from the vbscript back to a control box on the form, assuming I have calculations done correctly for "scoreA"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDITFORM.Pages.Item("Results").Controls.Item("sumEl").Additem scoreA, scoreA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the proper way to reference data in a control box?&amp;nbsp; It was copied from an earlier version of ArcPad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 19:33:18 GMT</pubDate>
    <dc:creator>TomPotter</dc:creator>
    <dc:date>2012-04-26T19:33:18Z</dc:date>
    <item>
      <title>Form to vbs back to form, ArcPad10</title>
      <link>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664303#M4802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is very little documentation on using vbscript within a layer form.&amp;nbsp; Any help with syntax would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within my subroutine, I want to grab some numerical data entered in a control box on the form.&amp;nbsp; Will this Set command grab the data that was input and assign it to the variable el1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sub getdata&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Dim el1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set el1 = EDITFORM.Pages.Item("page4").Controls.Item("element1")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To bring data from the vbscript back to a control box on the form, assuming I have calculations done correctly for "scoreA"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDITFORM.Pages.Item("Results").Controls.Item("sumEl").Additem scoreA, scoreA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the proper way to reference data in a control box?&amp;nbsp; It was copied from an earlier version of ArcPad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 19:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664303#M4802</guid>
      <dc:creator>TomPotter</dc:creator>
      <dc:date>2012-04-26T19:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Form to vbs back to form, ArcPad10</title>
      <link>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664304#M4803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best location for assistance with ArcPad Studio, as far as documentation is concerned, would be to go to Start &amp;gt; All Programs &amp;gt; ArcGIS &amp;gt; ArcPad 10 &amp;gt; Developer Help &amp;gt; Customizing ArcPad. This documentation provides examples and explanations about the different types of controls on the Forms. Just type in the Search tab what you are looking for. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, for further assistance, I would recommend utilizing the ArcPad Samples. For the Redlands Sample, for example, you could open the Trees.apl in ArcPad Studio and be able to see how they set up their .vbs script and how they linked it with the Edit Form controls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps you out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 14:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664304#M4803</guid>
      <dc:creator>KevinBurke</dc:creator>
      <dc:date>2012-04-27T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Form to vbs back to form, ArcPad10</title>
      <link>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664305#M4804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, but the documentation provides absolutely no help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am making progress.&amp;nbsp; Figured out how to pull data from the form and get a sum in vbscript.&amp;nbsp; Still haven't figured out how to return that sum back to the form&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 16:30:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664305#M4804</guid>
      <dc:creator>TomPotter</dc:creator>
      <dc:date>2012-04-27T16:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Form to vbs back to form, ArcPad10</title>
      <link>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664306#M4805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached is a simple applet that illustrates how to read values in a form, do a calculation in the form and display the result in the form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unzip the file into your applets directory, start up ArcPad, Click on the Bex toolbar and the Bex toolitem. The code is in the .txt file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rolf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 08:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/form-to-vbs-back-to-form-arcpad10/m-p/664306#M4805</guid>
      <dc:creator>RolfBroch</dc:creator>
      <dc:date>2012-05-02T08:09:36Z</dc:date>
    </item>
  </channel>
</rss>

