<?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: SQL Query JMP14 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/59080#M32500</link>
    <description>&lt;P&gt;Yes, you can script nearly anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And.. no, you can't have the blue spec limit lines unless you have spec limits in the columns and the check box to show the line is on. &amp;nbsp;Both the spec limits and and option to show spec limits are column properties.&lt;/P&gt;
&lt;P&gt;But adding the spec limits and the option to show spec limits are both scriptable and luckly there is a blog about that.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Byron-Wingerd-s-Blog/Spec-Limit-Lines-on-Graphs/ba-p/33317" target="_blank"&gt;https://community.jmp.com/t5/Byron-Wingerd-s-Blog/Spec-Limit-Lines-on-Graphs/ba-p/33317&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jun 2018 18:14:47 GMT</pubDate>
    <dc:creator>Byron_JMP</dc:creator>
    <dc:date>2018-06-01T18:14:47Z</dc:date>
    <item>
      <title>SQL Query JMP14</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/58674#M32415</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use SQL query builder to create a data base (xxx.jmp). Then, I modify the dt base.jmp by labelling columns and with spec limits.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if I want to modify the query (ex.: to have less columns), JMP 14 create a new dt base and I lost all the specific or particular informations for some columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to retreive these informations in the new dt base?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i know that i can create a new file with the spec limits but i'm a beginner with jsl.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 14:22:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/58674#M32415</guid>
      <dc:creator>Françoise</dc:creator>
      <dc:date>2018-05-30T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query JMP14</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/58986#M32484</link>
      <description>&lt;P&gt;One of the great things about the query builder is that there is a post-query script option so you can do things like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change the name of a column&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:Unfortunate_Name&amp;lt;&amp;lt;set name(:Happy Name);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You mentioned adding spec limits too.&lt;/P&gt;
&lt;P&gt;This example is in the scripting index:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = Capability(
	Y( :OZONE, :CO, :SO2, :NO ),
	Spec Limits(
		Import Spec Limits(
			"$SAMPLE_DATA/CitySpecLimits.jmp"
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;so you could do somthing like this next:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt&amp;lt;&amp;lt;current data table( ); // it would be better to be specific but this will work
obj=capability((Y(:Happy Name),spec limits(import spec limits("My_Spec_Table.jsl"))) &lt;BR /&gt; //I just wrote this free hand so it might be missing a paren or something easy
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then everytime you run this query, the table that comes out will have all the formatting that you want it to have.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 23:56:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/58986#M32484</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2018-05-31T23:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query JMP14</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/59026#M32490</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but, doing like this, the blue lines (target, USL, LSL) have disappeared in the graphs.&lt;/P&gt;&lt;P&gt;is it possible&amp;nbsp; to have it? (without by the properties of the columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 12:29:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/59026#M32490</guid>
      <dc:creator>Françoise</dc:creator>
      <dc:date>2018-06-01T12:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query JMP14</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/59080#M32500</link>
      <description>&lt;P&gt;Yes, you can script nearly anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And.. no, you can't have the blue spec limit lines unless you have spec limits in the columns and the check box to show the line is on. &amp;nbsp;Both the spec limits and and option to show spec limits are column properties.&lt;/P&gt;
&lt;P&gt;But adding the spec limits and the option to show spec limits are both scriptable and luckly there is a blog about that.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Byron-Wingerd-s-Blog/Spec-Limit-Lines-on-Graphs/ba-p/33317" target="_blank"&gt;https://community.jmp.com/t5/Byron-Wingerd-s-Blog/Spec-Limit-Lines-on-Graphs/ba-p/33317&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 18:14:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/59080#M32500</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2018-06-01T18:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query JMP14</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/59096#M32505</link>
      <description>&lt;P&gt;You can place Reference Lines on your charts with the Labels of USL, LSL and Target, and bypass the column properties completly.&amp;nbsp; In fact, you can do both, and the Reference Lines will write on top of the light blue spec limits lines.&lt;/P&gt;
&lt;P&gt;But, I must admit that having the limits as column properties makes the platforms that use spec limits, a very convienent feature.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 21:42:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-Query-JMP14/m-p/59096#M32505</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-06-01T21:42:33Z</dc:date>
    </item>
  </channel>
</rss>

