<?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: Populate Text Box with the value from Other Text Box in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474954#M3388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you figure this out??? I would like to do the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Nov 2010 15:55:04 GMT</pubDate>
    <dc:creator>markfarina</dc:creator>
    <dc:date>2010-11-05T15:55:04Z</dc:date>
    <item>
      <title>Populate Text Box with the value from Other Text Box</title>
      <link>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474953#M3387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to populate a Text Box with the value from multiple fields on a custom edit form. The event should fire when the event OnOK fires when the page or form closes. I can populate it with a string or a date without any problem but cannot read another field on the form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have looked through all the help files and cannot find a sample that calls another field from a form. ESRI Tech support has no clue how to do this and it is a simple task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 17:10:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474953#M3387</guid>
      <dc:creator>MarkValentino</dc:creator>
      <dc:date>2010-10-06T17:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Text Box with the value from Other Text Box</title>
      <link>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474954#M3388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you figure this out??? I would like to do the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 15:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474954#M3388</guid>
      <dc:creator>markfarina</dc:creator>
      <dc:date>2010-11-05T15:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Text Box with the value from Other Text Box</title>
      <link>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474955#M3389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you're trying to do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
'Assumes this is fired by the onOK event of an editform
Dim theEditForm
Set theEditForm = ThisEvent.Object 'gets a reference to the edit form.
theEditForm.Pages("pagename").controls("control_one").value = theEditForm.Fields("field_name").value
'So, for example, you could now concatenate the values of a couple of fields, and write them to a combo or edit box as you see fit.

Dim temp
temp = theEditForm.Fields("field_name_one").value &amp;amp; " " &amp;amp; theEditForm.Fields("field_name_two").value
theEditForm.Pages("pagename").controls("control_one").value = temp
'or
theEditForm.Fields("other field name").value = temp
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The things in the Customizing ArcPad help that are most useful to me are the pages titled "&amp;lt;something&amp;gt; object", for instance "form object" or "page object". The examples are sort of buried, so I can understand your frustration with that, but the "object" pages have some examples of getting references to these objects and thier basic use. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474955#M3389</guid>
      <dc:creator>EricHajek1</dc:creator>
      <dc:date>2021-12-11T21:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Populate Text Box with the value from Other Text Box</title>
      <link>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474956#M3390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you pretty much defined the solution to your own problem.&amp;nbsp; If you can pass a string or a date to the TextBox then you merely need to take the values from the other controls and concatenate those values in a string variable and pass that to the TextBox of interest.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 20:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/populate-text-box-with-the-value-from-other-text/m-p/474956#M3390</guid>
      <dc:creator>IvanKautter</dc:creator>
      <dc:date>2010-11-05T20:52:06Z</dc:date>
    </item>
  </channel>
</rss>

