<?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 Creating/Editing 'RecordSet' VBScript problem in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/creating-editing-recordset-vbscript-problem/m-p/306766#M2252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently in the process of updating an ArcPad Application for the purpose of outfall/culvert management.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the .APL Edit Form, there is a tab with multiple buttons which call upon an Applet (.APA) inspection form in one way or another.&amp;nbsp; When I click the button for 'Add New Outfall Inspection Report', or the button to edit a current inspection report, I receive an error pertaining to the last line in the following code section: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Create a record set and open the inspection history data as a recordset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set pRecordSet = Application.CreateAppObject("RecordSet")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; sInspectionHistoryFilePath = Application.UserProperties("InspectionHistoryFilePath")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Call pRecordSet.Open(sInspectionHistoryFilePath, 2) '2 = read/write&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*The 'sInspectionHistoryFilePath' component in the last line is replaced, in the VBScript, by the actual path to the external .dbf table where the inspection data is stored.&amp;nbsp; Within the .APL, there is an almost identical set of code (to the above) which does not produce an error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is probably hard to see what I'm describing through a mere snippit of code, but essentially I am unable to call up the Applet inspection form through the .APL as desired.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 18:18:51 GMT</pubDate>
    <dc:creator>ChristopherBowering</dc:creator>
    <dc:date>2012-03-01T18:18:51Z</dc:date>
    <item>
      <title>Creating/Editing 'RecordSet' VBScript problem</title>
      <link>https://community.esri.com/t5/arcpad-questions/creating-editing-recordset-vbscript-problem/m-p/306766#M2252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am currently in the process of updating an ArcPad Application for the purpose of outfall/culvert management.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the .APL Edit Form, there is a tab with multiple buttons which call upon an Applet (.APA) inspection form in one way or another.&amp;nbsp; When I click the button for 'Add New Outfall Inspection Report', or the button to edit a current inspection report, I receive an error pertaining to the last line in the following code section: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Create a record set and open the inspection history data as a recordset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set pRecordSet = Application.CreateAppObject("RecordSet")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; sInspectionHistoryFilePath = Application.UserProperties("InspectionHistoryFilePath")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Call pRecordSet.Open(sInspectionHistoryFilePath, 2) '2 = read/write&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*The 'sInspectionHistoryFilePath' component in the last line is replaced, in the VBScript, by the actual path to the external .dbf table where the inspection data is stored.&amp;nbsp; Within the .APL, there is an almost identical set of code (to the above) which does not produce an error.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is probably hard to see what I'm describing through a mere snippit of code, but essentially I am unable to call up the Applet inspection form through the .APL as desired.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 18:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/creating-editing-recordset-vbscript-problem/m-p/306766#M2252</guid>
      <dc:creator>ChristopherBowering</dc:creator>
      <dc:date>2012-03-01T18:18:51Z</dc:date>
    </item>
  </channel>
</rss>

