<?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: AXF- no default values in Arcpad in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249693#M1825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I also find this a pain, but here's an alternate work around if you don't want to mess with shapefiles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a sub from the Riverside developer's sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Sub SetCombo(cbx, item)
 Dim index
 
 For index = 0 to cbx.ListCount - 1
&amp;nbsp; cbx.ListIndex = index
&amp;nbsp; If (CStr(cbx.value) = item) Then
&amp;nbsp;&amp;nbsp; Exit Sub
&amp;nbsp; End If
 next
 cbx.ListIndex = -1
End Sub
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can just feed it default values in the onload event of your form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SetCombo EForm.Pages("Page1").Controls("cboWALL_MATERIAL"), "CON"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I use comboboxes instead of domainfields because I hate the dropdown delay from domainfields, so I haven't verified that this works with domainfield controls, though I think it does. Also, I'm not sure how it interacts with subtypes. I would imagine that it would, assuming the default value is part of the domain of the currently selected subtype.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 12:25:01 GMT</pubDate>
    <dc:creator>EricHajek1</dc:creator>
    <dc:date>2021-12-11T12:25:01Z</dc:date>
    <item>
      <title>AXF- no default values in Arcpad</title>
      <link>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249690#M1822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a fGDB with subtypes and domains with default values.&amp;nbsp; I'd like to have the default values populate a field based on the subtype selected.&amp;nbsp; This is working fine in Arcmap when working directly with the GDB, but when checked out to an axf, the default values are not populating the field when a new feature is created in arcpad.&amp;nbsp; Am I doing something wrong in the check-out, or are geodatabase default values not supported?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 17:33:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249690#M1822</guid>
      <dc:creator>AaronWorthley</dc:creator>
      <dc:date>2010-07-29T17:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: AXF- no default values in Arcpad</title>
      <link>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249691#M1823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Aaron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment ArcPad does not honour the domain defaults based in the SubTypes menu. If you set the domain defaults on the fields menu for domains it will honour those.&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>Mon, 02 Aug 2010 01:00:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249691#M1823</guid>
      <dc:creator>GarethWalters</dc:creator>
      <dc:date>2010-08-02T01:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: AXF- no default values in Arcpad</title>
      <link>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249692#M1824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Aaron,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it does but you should not use AXF file or better to say ArcPad Data Manager when extracting data for ArcPad. I would recommend standard ArcPad toolbar - this exports data to shapefile, but I was surprised, this holds the subtypes + default values for the subtypes. Even the standalone SHP, not only the apm project file. You can use this as a possible workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan B.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 05:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249692#M1824</guid>
      <dc:creator>JanBorovanský</dc:creator>
      <dc:date>2010-10-22T05:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: AXF- no default values in Arcpad</title>
      <link>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249693#M1825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I also find this a pain, but here's an alternate work around if you don't want to mess with shapefiles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's a sub from the Riverside developer's sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Sub SetCombo(cbx, item)
 Dim index
 
 For index = 0 to cbx.ListCount - 1
&amp;nbsp; cbx.ListIndex = index
&amp;nbsp; If (CStr(cbx.value) = item) Then
&amp;nbsp;&amp;nbsp; Exit Sub
&amp;nbsp; End If
 next
 cbx.ListIndex = -1
End Sub
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can just feed it default values in the onload event of your form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SetCombo EForm.Pages("Page1").Controls("cboWALL_MATERIAL"), "CON"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I use comboboxes instead of domainfields because I hate the dropdown delay from domainfields, so I haven't verified that this works with domainfield controls, though I think it does. Also, I'm not sure how it interacts with subtypes. I would imagine that it would, assuming the default value is part of the domain of the currently selected subtype.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/axf-no-default-values-in-arcpad/m-p/249693#M1825</guid>
      <dc:creator>EricHajek1</dc:creator>
      <dc:date>2021-12-11T12:25:01Z</dc:date>
    </item>
  </channel>
</rss>

