<?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 Populate combobox in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/please-help-populate-combobox/m-p/716670#M5228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started with just trying to populate a combobox and am having issues.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I figure I can write a query....get that to work and them populat the combobox...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can work on updaing the fields later....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried this and the .AddItem is not working...any thoughts&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim objRS2, objSelLayer2, objEFPageOneControls2, objEditForm2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objSelLayer2 = Map.SelectionLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objRS2 = objSelLayer2.Records&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; objRS2.Bookmark = Map.SelectionBookmark&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objEditForm2 = application.map.layers("Supports").forms("EDITFORM")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objEFPageOneControls2 = objEditForm2.Pages("page2").Controls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; objEFPageOneControls2("Combo1").AddItem = "One"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; objEFPageOneControls2("Combo1").AddItem = "Two"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Aug 2010 12:12:51 GMT</pubDate>
    <dc:creator>JayKappy</dc:creator>
    <dc:date>2010-08-16T12:12:51Z</dc:date>
    <item>
      <title>PLEASE HELP - Populate combobox</title>
      <link>https://community.esri.com/t5/arcpad-questions/please-help-populate-combobox/m-p/716669#M5227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a form with a few tabs on it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do is select a feature and when the 2nd tab is activated populate the combobox with values from a particular field from a stand alone table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I select a feature in the map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In tab 1 the features fields are shown (with a UniqueID)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I click tab 2 I want to populate all the related records from a stand alone table based on the UniqueID value from the first tab and show the Type field in the combobox.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After the user selects the specific value in the combobox it populates the record in the textboxes on the 2nd tab.&amp;nbsp; Allowing for update etc. which will be handled with SQL statements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can this be done?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 20:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/please-help-populate-combobox/m-p/716669#M5227</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2010-08-12T20:20:32Z</dc:date>
    </item>
    <item>
      <title>Populate combobox</title>
      <link>https://community.esri.com/t5/arcpad-questions/please-help-populate-combobox/m-p/716670#M5228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started with just trying to populate a combobox and am having issues.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I figure I can write a query....get that to work and them populat the combobox...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can work on updaing the fields later....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried this and the .AddItem is not working...any thoughts&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim objRS2, objSelLayer2, objEFPageOneControls2, objEditForm2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objSelLayer2 = Map.SelectionLayer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objRS2 = objSelLayer2.Records&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; objRS2.Bookmark = Map.SelectionBookmark&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objEditForm2 = application.map.layers("Supports").forms("EDITFORM")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set objEFPageOneControls2 = objEditForm2.Pages("page2").Controls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; objEFPageOneControls2("Combo1").AddItem = "One"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; objEFPageOneControls2("Combo1").AddItem = "Two"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 12:12:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/please-help-populate-combobox/m-p/716670#M5228</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2010-08-16T12:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP - Populate combobox</title>
      <link>https://community.esri.com/t5/arcpad-questions/please-help-populate-combobox/m-p/716671#M5229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK I did this:&amp;nbsp; Although I do not know why I had to use two parameters ( "value" and "Text" )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;objEFPageOneControls2("Combo1").AddItem "One", "One"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objEFPageOneControls2("Combo1").AddItem "Two", "Two" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now just need a way to write a query that will query the Standalone table to get the records that match the uniqueID.&amp;nbsp; I then need to populate the combobox with these records (say just he unique id field)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 13:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/please-help-populate-combobox/m-p/716671#M5229</guid>
      <dc:creator>JayKappy</dc:creator>
      <dc:date>2010-08-16T13:26:27Z</dc:date>
    </item>
  </channel>
</rss>

