<?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: Deleting Column Formula error by using Delete Property (formula) script. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Deleting-Column-Formula-error-by-using-Delete-Property-formula/m-p/308899#M56303</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cols = dt &amp;lt;&amp;lt; get column names();

For( i = 1, i &amp;lt;= N Col( dt ), i++,
    As Columns( cols[i] ) &amp;lt;&amp;lt; Delete Property( formula )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Putting As Column() has resolved this. Yet I still have wonders why it did work a few times, then later on it didn't work - with same JMP versions (I use both 15, and 16EA).&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2020 10:27:58 GMT</pubDate>
    <dc:creator>joelahn</dc:creator>
    <dc:date>2020-09-18T10:27:58Z</dc:date>
    <item>
      <title>Deleting Column Formula error by using Delete Property (formula) script.</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-Column-Formula-error-by-using-Delete-Property-formula/m-p/308860#M56302</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have multiple columns with formula, and I wanted to remove formula after calculations.&lt;/P&gt;
&lt;P&gt;codes are as below.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cols = dt &amp;lt;&amp;lt; get column names();

For( i = 1, i &amp;lt;= N Col( dt ), i++,
    cols[i] &amp;lt;&amp;lt; Delete Property( formula )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then, the log says the following:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Send Expects Scriptable Object in access or evaluation of 'Send' , cols[i] &amp;lt;&amp;lt;&amp;nbsp; /*###*/Delete Property( formula ) /*###*/&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Can somebody help on me this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another question is if we can make a list of specific columns and delete formula.&lt;/P&gt;
&lt;P&gt;We have a script called "Delete Formula", I wanted to use this to column list, but it seems it's not working well.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:19:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-Column-Formula-error-by-using-Delete-Property-formula/m-p/308860#M56302</guid>
      <dc:creator>joelahn</dc:creator>
      <dc:date>2023-06-10T23:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Column Formula error by using Delete Property (formula) script.</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-Column-Formula-error-by-using-Delete-Property-formula/m-p/308899#M56303</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cols = dt &amp;lt;&amp;lt; get column names();

For( i = 1, i &amp;lt;= N Col( dt ), i++,
    As Columns( cols[i] ) &amp;lt;&amp;lt; Delete Property( formula )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Putting As Column() has resolved this. Yet I still have wonders why it did work a few times, then later on it didn't work - with same JMP versions (I use both 15, and 16EA).&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 10:27:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-Column-Formula-error-by-using-Delete-Property-formula/m-p/308899#M56303</guid>
      <dc:creator>joelahn</dc:creator>
      <dc:date>2020-09-18T10:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Column Formula error by using Delete Property (formula) script.</title>
      <link>https://community.jmp.com/t5/Discussions/Deleting-Column-Formula-error-by-using-Delete-Property-formula/m-p/308901#M56305</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;cols = dt &amp;lt;&amp;lt; get column names();

For( i = 1, i &amp;lt;= N Col( dt ), i++,
 column(cols[i]) &amp;lt;&amp;lt; Delete formula;
);

//or

For( i = 1, i &amp;lt;= N Col( dt ), i++,
 column(i) &amp;lt;&amp;lt; Delete formula;
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Sep 2020 08:51:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Deleting-Column-Formula-error-by-using-Delete-Property-formula/m-p/308901#M56305</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-09-18T08:51:06Z</dc:date>
    </item>
  </channel>
</rss>

