<?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: Some glitch in the script. Script works 70% of times and 30% of times, I get error -- &amp;quot;Could not find column in access ........&amp;quot; in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Some-glitch-in-the-script-Script-works-70-of-times-and-30-of/m-p/272118#M52930</link>
    <description>&lt;P&gt;Try changing all of your name setting statements from this structure:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( "Core_BR.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name("Core_BR");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( dt, "Core_BR.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name("Core_BR");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It will force JMP to go to the data table referenced by "dt"&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2020 12:39:52 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-06-11T12:39:52Z</dc:date>
    <item>
      <title>Some glitch in the script. Script works 70% of times and 30% of times, I get error -- "Could not find column in access ........"</title>
      <link>https://community.jmp.com/t5/Discussions/Some-glitch-in-the-script-Script-works-70-of-times-and-30-of/m-p/272110#M52929</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;
&lt;P&gt;I have a part of a script which some time does not work and throw an error -- " could not find column in access or evaluation of 'Column' , Column/*###*/("Core_BR.Res.(Ohms)") "&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the script, I am just renaming columns and in fact, I thought it is related to the size of the table so I have included "Wait(0)" after each column rename command. But no good luck.&lt;/P&gt;
&lt;P&gt;Script is like this --&lt;/P&gt;
&lt;P&gt;----------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;
dt = Data Table( "STP_DATA" );
Wait( 0 );

dt = Data Table( "STP_DATA" );
Wait( 0 );
Column( "Core_BR.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Core_BR" );
Wait( 0 );
Column( "Rdr.Iso.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Rdr_Iso" );
Wait( 0 );
Column( "Rdr.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Rdr_Res" );
Wait( 0 );
Column( "Rdr_Htr.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Rdr_Htr_Res" );
Wait( 0 );
Column( "TAD.Iso.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "TAD_Iso" );
Wait( 0 );
Column( "TAD.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "TAD_Res" );
Wait( 0 );
Column( "Wtr.Iso.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Wtr_Iso" );
Wait( 0 );
Column( "Wtr_Htr.Iso.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Wtr_Htr_Iso" );
Wait( 0 );
Column( "Wtr_Htr.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Wtr_Htr_Res" );
Wait( 0 );
Column( "Wtr_I1.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name( "Wtr_I1_Res" );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;And the error I get is ---&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hari_0-1591876524912.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24507i29C22622325799F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hari_0-1591876524912.png" alt="Hari_0-1591876524912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-----------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;The thing is, I am not getting this error evrey time. Script works fine 7/10 times but throw error otherwise.&lt;/P&gt;
&lt;P&gt;If I active this table (by clicking it) and then run the script, it works 100%. Which means somehow my "dt= Data table (....)" is not refreshing oe recalling&amp;nbsp; the table or somthing like that !&lt;/P&gt;
&lt;P&gt;Any help.&lt;/P&gt;
&lt;P&gt;Thanks, Hari&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:28:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-glitch-in-the-script-Script-works-70-of-times-and-30-of/m-p/272110#M52929</guid>
      <dc:creator>HSS</dc:creator>
      <dc:date>2023-06-09T23:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Some glitch in the script. Script works 70% of times and 30% of times, I get error -- "Could not find column in access ........"</title>
      <link>https://community.jmp.com/t5/Discussions/Some-glitch-in-the-script-Script-works-70-of-times-and-30-of/m-p/272118#M52930</link>
      <description>&lt;P&gt;Try changing all of your name setting statements from this structure:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( "Core_BR.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name("Core_BR");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Column( dt, "Core_BR.Res.(Ohms)" ) &amp;lt;&amp;lt; Set Name("Core_BR");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It will force JMP to go to the data table referenced by "dt"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 12:39:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-glitch-in-the-script-Script-works-70-of-times-and-30-of/m-p/272118#M52930</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-06-11T12:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Some glitch in the script. Script works 70% of times and 30% of times, I get error -- "Could not find column in access ........"</title>
      <link>https://community.jmp.com/t5/Discussions/Some-glitch-in-the-script-Script-works-70-of-times-and-30-of/m-p/272171#M52942</link>
      <description>&lt;P&gt;Working fine after this change. Hopefully will not face the issue again. Many thanks "Nelson".&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 16:12:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Some-glitch-in-the-script-Script-works-70-of-times-and-30-of/m-p/272171#M52942</guid>
      <dc:creator>HSS</dc:creator>
      <dc:date>2020-06-11T16:12:20Z</dc:date>
    </item>
  </channel>
</rss>

