<?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: Help on &amp;amp;lt;TABLEFORM&amp;amp;gt; element? in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542230#M3922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;A _jive_internal="true" href="https://community.esri.com/thread/166181"&gt;post&lt;/A&gt; (click the link) pertains to what you are talking about in this thread .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to modify the Text field in a combobox but however&amp;nbsp; I cannot do that as i get an error . Could let me know if this issue has been fixed ?&lt;/P&gt;&lt;P&gt;If not how do I go about modifying the text field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;STRONG&gt;objComboBox.Text=WrittenText &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;STRONG&gt;objComboBox.Value=WrittenText&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;But both throw an error!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Meghna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2015 14:45:53 GMT</pubDate>
    <dc:creator>MeghnaNatraj</dc:creator>
    <dc:date>2015-09-29T14:45:53Z</dc:date>
    <item>
      <title>Help on &amp;lt;TABLEFORM&amp;gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542218#M3910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why is there no help on this element in ArcPad Studio 10?&amp;nbsp; There's help on the &amp;lt;EDITFORM&amp;gt; element, on which &amp;lt;TABLEFORM&amp;gt; elements reside.&amp;nbsp; There's help on &amp;lt;PAGE&amp;gt; elements, which live on &amp;lt;TABLEFORM&amp;gt; elements.&amp;nbsp; But there is no help on the &amp;lt;TABLEFORM&amp;gt; element.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize it's important to get products to market, but with incomplete help?&amp;nbsp; On long-awaited enhancements such as customizing related table forms?&amp;nbsp; C'mon ESRI ArcPad Team, get it together!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 18:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542218#M3910</guid>
      <dc:creator>AndrewZimba</dc:creator>
      <dc:date>2011-02-02T18:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542219#M3911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Amen! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can't even get rid of them from what I can tell. If you only need one table, but you have 8 related to the point, it will bring in all 8. Even if you delete them in both source and tree view, they still show up. You can't reorder them. They just do what they want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 13:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542219#M3911</guid>
      <dc:creator>JasonTipton</dc:creator>
      <dc:date>2011-02-03T13:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542220#M3912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Or how do you at least skip to a specific tableform, instead of having to scroll them all. If they were pages, you would just call Pages("page").Activate. I have no idea how to do that with TABLEFORMS. I've tried everything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 13:42:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542220#M3912</guid>
      <dc:creator>JasonTipton</dc:creator>
      <dc:date>2011-02-03T13:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542221#M3913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for bringing this to our attention.&amp;nbsp; We have logged a documentation bug (CQ00312646) to get this added to the help.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime here is some information on the &amp;lt;TABLEFORM&amp;gt; element:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Forms for related tables are defined with a new &amp;lt;TABLEFORM&amp;gt; element. A &amp;lt;TABLEFORM&amp;gt; must be a child of an &amp;lt;EDITFORM&amp;gt; or an &amp;lt;IDENTIFYFORM&amp;gt;, this allows edit and identify for to have different presentation styles if required. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A &amp;lt;TABLEFORM&amp;gt; has one or more child &amp;lt;PAGE&amp;gt; elements defined the same way as for other forms. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The name attribute for the related table must match the related table name. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &amp;lt;LISTFORM&amp;gt; allows the list view of related table rows to be customized. A &amp;lt;LISTVIEW&amp;gt; is a child of the &amp;lt;TABLEFORM&amp;gt; and supports the following attributes : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;LISTVIEW visible="true|false"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- visible : defines if the related table rows for the speificied table wil be availble to the user or not. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &amp;lt;LISTVIEW&amp;gt; must contain one or more &amp;lt;COLUMN&amp;gt; definitions. The &amp;lt;COLUMN&amp;gt; definitions define which columns from the related table are shown in the list view. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;LISTVIEW field="..." visible="true|false" caption="...." width="..."/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- field : The column name in the related table. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- visible : Defines if the column is visible or not (default = "true") &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- caption : The title form the column in the list view. Default is name of field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- width : Width of column in pixels. Default is 50. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example of Lights &amp;lt;TABLEFORM&amp;gt; in the Riverside sample data : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;EDITFORM ....&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;PAGE&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...controls.... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/PAGE&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;... other PAGE definitions .... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;TABLEFORM name="Lights" caption="Lights" width="130" height="130"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;PAGE name="PAGE1" caption="Page 1"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;LABEL name="LABEL1" x="1" y="2" width="43" height="12" caption="Type" tooltip="" border="false"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;EDIT name="TYPE" x="45" y="1" width="74" height="12" defaultvalue="" tooltip="" tabstop="true" border="true" field="TYPE"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;LABEL name="LABEL2" x="1" y="16" width="43" height="14" caption="Installdate" tooltip="" border="false"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;DATETIME name="INSTALLDATE" x="45" y="17" width="75" height="14" defaultvalue="" tooltip="" tabstop="true" border="true" field="INSTALLDATE"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;LABEL name="LABEL3" x="1" y="32" width="43" height="12" caption="LightID" tooltip="" border="false"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;EDIT name="LIGHTID" x="45" y="32" width="74" height="12" defaultvalue="" tooltip="" tabstop="true" border="true" field="LIGHTID"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/PAGE&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;LISTVIEW visible="true"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;COLUMN field="PoleID" visible="false" caption="PoleID" width="50"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;COLUMN field="Type" visible="true" caption="Type" width="100"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;COLUMN field="InstallDate" visible="false" caption="Installed" width="50"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;COLUMN field="LightID" visible="true" caption="ID" width="50"/&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/LISTVIEW&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/TABLEFORM&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/EDITFORM&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 13:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542221#M3913</guid>
      <dc:creator>ToddStuber</dc:creator>
      <dc:date>2011-02-03T13:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542222#M3914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's pretty good info Todd.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How would I get access to the controls on a &amp;lt;TABLEFORM&amp;gt; element?&amp;nbsp; Usually you do something like DIM pForm, pPage, set pForm to the EDITFORM and pPage to the page by name containing the controls you want to access, and then go to work.&amp;nbsp; I'm unsure how to do this for &amp;lt;TABLEFORM&amp;gt; elements however.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any info you could provide would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 14:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542222#M3914</guid>
      <dc:creator>AndrewZimba</dc:creator>
      <dc:date>2011-02-03T14:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542223#M3915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andrew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the ThisEvent object to access the tableform controls. Basically use it to set the page you are on and then find all of the controls on the page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put this on the related tables OnSetFocus event&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim objPage, objControls, objControl, i&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set objPage = ThisEvent.Object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set objControls = objPage.Controls&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Create a series of variables based on the controls on the page&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For i = 1 To objControls.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Console.print i &amp;amp; ": " &amp;amp; objControls(i).Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application.UserProperties(objControls(i).Name) = objControls(i).Name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Msgbox Application.UserProperties("lblPoleID")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gareth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 02:52:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542223#M3915</guid>
      <dc:creator>GarethWalters</dc:creator>
      <dc:date>2011-02-04T02:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542224#M3916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I get "Class doesn't support automation" errors when I try to access combo box controls on &amp;lt;TABLEFORM&amp;gt; elements. What am I doing wrong? Here's the code I'm trying to run when I call PopulateSICCode from the OnChange event of a combobox control on a &amp;lt;TABLEFORM&amp;gt; element. This code worked fine when I had the information in the attribute table of a point feature class and ran it from a Page on EDITFORM, but chokes when it's on &amp;lt;TABLEFORM&amp;gt;. I need it to be in a realted table, however so I can associate n SIC codes to any given point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sub PopulateSICCode&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim pCtrl, pPage, pCtrls, i&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set pCtrl = ThisEvent.Object&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set pPage = pCtrl.Parent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set pCtrls = pPage.Controls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; For i = 1 to pCtrls.Count&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;msgbox i&amp;amp;": "&amp;amp;pCtrls(i).Name &lt;/SPAN&gt;&lt;STRONG&gt;&amp;lt;--this works as expected&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; Next&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim inPath, rsList&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; inPath = Preferences.Properties("DataPath") &amp;amp; "/"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set rsList = Application.CreateAppObject("recordset")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Dim strSICClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; strSICClass = pCtrls("cboSICClass").Value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;msgbox "cboSICClass = " &amp;amp; strSICClass &lt;/SPAN&gt;&lt;STRONG&gt;&amp;lt;--so does this&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; pCtrls("cboSICCode").Clear &lt;/SPAN&gt;&lt;STRONG&gt;&amp;lt;-- "class does not support automation" here&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt; rsList.Open inPath &amp;amp; "SICCodes.dbf",1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; rsList.MoveFirst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; While Not rsList.EOF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; If Left(rsList.Fields("CODE").Value, 2) = pCtrls("cboSICClass").Value Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Call pCtrls("cboSICCode").Additem(rsList.Fields("DESCRIP").Value, rsList.Fields("DESCRIP").Value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; End If&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; rsList.MoveNext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Wend&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set strSICClass = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set rsList = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set inPath = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set i = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set pCtrls = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set pPage = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Set pCtrl = Nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 13:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542224#M3916</guid>
      <dc:creator>AndrewZimba</dc:creator>
      <dc:date>2011-02-04T13:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542225#M3917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, I believe comboboxes do not support the .clear method. Don't you love it? I think you will need to do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pCtrls("cboSICCode").ListIndex = -1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should do the trick.&amp;nbsp; (FYI) And, I really didn't take a good look at your code, but I noticed some .Value in there. That should be logical, but it may not work right.&amp;nbsp; If you change a controlBox's value, then access the value before you have closed/reopened the form, it will still report the original value even though your eyes can see that the value has been changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found this out the hard way after about 2 days of trying to figure out why my code wasn't giving me the results I coded it to, so I finally tested this theory by having a comboBox with "E", and "W". If a button was pressed, it would flip "E" to "W" and vice verse. It would only flip once. It would also report in the console what the ".value" was.&amp;nbsp; The reason it would only work once was that if I started with "E", it would flip to "W". Then, when pressed again, it would report in the console that the value was still "E", even though I could see that it was really changed in the form to "W", therefore a flipped "E" remains "W" and nothing would change. BUT, when I closed the form and reopened it, the value would be correct!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, long story short, comboBox.value = x or comboBox.text = x probably should be something to avoid.&amp;nbsp; Therefore, you have to use comboBox.ListIndex to change the selection. It seems you can always say x = comboBox.value or x = comboBox.text, but not the other way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes, I have logged a bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 17:01:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542225#M3917</guid>
      <dc:creator>JasonTipton</dc:creator>
      <dc:date>2011-02-08T17:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542226#M3918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, I believe comboboxes do not support the .clear method. Don't you love it? I think you will need to do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
pCtrls("cboSICCode").ListIndex = -1&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should do the trick.&amp;nbsp; (FYI) And, I really didn't take a good look at your code, but I noticed some .Value in there. That should be logical, but it may not work right.&amp;nbsp; If you change a controlBox's value, then access the value before you have closed/reopened the form, it will still report the original value even though your eyes can see that the value has been changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found this out the hard way after about 2 days of trying to figure out why my code wasn't giving me the results I coded it to, so I finally tested this theory by having a comboBox with "E", and "W". If a button was pressed, it would flip "E" to "W" and vice verse. It would only flip once. It would also report in the console what the ".value" was.&amp;nbsp; The reason it would only work once was that if I started with "E", it would flip to "W". Then, when pressed again, it would report in the console that the value was still "E", even though I could see that it was really changed in the form to "W", therefore a flipped "E" remains "W" and nothing would change. BUT, when I closed the form and reopened it, the value would be correct!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, long story short, comboBox.value = x or comboBox.text = x probably should be something to avoid.&amp;nbsp; Therefore, you have to use comboBox.ListIndex to change the selection. It seems you can always say x = comboBox.value or x = comboBox.text, but not the other way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes, I have logged a bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542226#M3918</guid>
      <dc:creator>JasonTipton</dc:creator>
      <dc:date>2021-12-11T23:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542227#M3919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Comboboxes support .clear to empty the combobox for all its values (not just make nothing selected).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it correct that you try to use a combobox called "cboSICCode"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your code that works you use "cboSICClass". Are we talking about two different comboboxes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly you can change the following code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim inPath, rsList&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inPath = Preferences.Properties("DataPath") &amp;amp; "/"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set rsList = Application.CreateAppObject("recordset")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim strSICClass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;strSICClass = pCtrls("cboSICClass").Value&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;msgbox "cboSICClass = " &amp;amp; strSICClass &amp;lt;--so does this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pCtrls("cboSICCode").Clear &amp;lt;-- "class does not support automation" here&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rsList.Open inPath &amp;amp; "SICCodes.dbf",1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rsList.MoveFirst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;While Not rsList.EOF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If Left(rsList.Fields("CODE").Value, 2) = pCtrls("cboSICClass").Value Then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Call pCtrls("cboSICCode").Additem(rsList.Fields("DESCRI P").Value, rsList.Fields("DESCRIP").Value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End If&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rsList.MoveNext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wend&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pCtrls("cboSICCode").Clear&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pCtrls("cboSICCode").Additemsfromtable Preferences.Properties("DataPath") &amp;amp; "\SICCodes.dbf", "DESCRIP", "DESCRIP", "Left(&lt;PRE&gt;, 2) = """ &amp;amp; pCtrls("cboSICClass").Value&amp;nbsp; &amp;amp; """"&lt;/PRE&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;again assuming that cboSICCode actually exists.&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, 09 Feb 2011 10:51:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542227#M3919</guid>
      <dc:creator>RolfBroch</dc:creator>
      <dc:date>2011-02-09T10:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542228#M3920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ooooh. Yeah. This means that what I've been developing isn't going to work. That seems to be a very frequent feeling.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI, you may want to take note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rolf is right. ComboBoxes do support .clear. The reason that I thought that they didn't is because I was trying to .clear a ComboBox inside a &amp;lt;TableForm&amp;gt; element.&amp;nbsp; Later I switched to just a normal form to build my other forms with the intention of moving them into a &amp;lt;TableForm&amp;gt; element. Of course, I did not use the .clear. Instead, I used the .ListIndex = -1. This seemed to work.... until I read Rolf's post.&amp;nbsp; I tried the .ListIndex = -1 inside a &amp;lt;TableForm&amp;gt; element. . .To my unsurprise, it does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;console.print(ThisEvent.Object.Parent.Controls("Field1").ListIndex)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This works. It prints the .ListIndex&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ThisEvent.Object.Parent.Controls("Field1").Clear&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ThisEvent.Object.Parent.Controls("Field1").ListIndex = -1&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;These do not work. Error message: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Class doesn't support Automation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source Text Unavailable&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you misspell your control, ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;ThisEvent.Object.Parent.Controls("Fiel1").ListIndex = -1&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Object Required&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source Text Unavailable&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so it is a different message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, this DOES WORK inside a &amp;lt;FORM&amp;gt; but the SAME CODE does not work inside a &amp;lt;TABLEFORM&amp;gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 16:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542228#M3920</guid>
      <dc:creator>JasonTipton</dc:creator>
      <dc:date>2011-02-11T16:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &lt;TABLEFORM&gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542229#M3921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any more information on accessing related tables since this thread started? How about the documentation update? Also relevant is the thread below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[HTML]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/11435-Show-related-tables-as-part-of-selection-query?p=205611#post205611[/HTML]" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/11435-Show-related-tables-as-part-of-selection-query?p=205611#post205611[/HTML]&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2012 06:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542229#M3921</guid>
      <dc:creator>JamesNunn</dc:creator>
      <dc:date>2012-06-09T06:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help on &amp;lt;TABLEFORM&amp;gt; element?</title>
      <link>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542230#M3922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;H Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;A _jive_internal="true" href="https://community.esri.com/thread/166181"&gt;post&lt;/A&gt; (click the link) pertains to what you are talking about in this thread .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to modify the Text field in a combobox but however&amp;nbsp; I cannot do that as i get an error . Could let me know if this issue has been fixed ?&lt;/P&gt;&lt;P&gt;If not how do I go about modifying the text field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;STRONG&gt;objComboBox.Text=WrittenText &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;STRONG&gt;objComboBox.Value=WrittenText&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;But both throw an error!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Meghna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 14:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/help-on-amp-lt-tableform-amp-gt-element/m-p/542230#M3922</guid>
      <dc:creator>MeghnaNatraj</dc:creator>
      <dc:date>2015-09-29T14:45:53Z</dc:date>
    </item>
  </channel>
</rss>

