<?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: Table summary question in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465159#M70925</link>
    <description>&lt;P&gt;Seems that Summary is executed directly when there is any argument. And did not find Preferences for Summary either. So I did not find a simple solution.&lt;/P&gt;
&lt;P&gt;One workaround would be to generate a modal window to select the input you need to perform summary (e.g. col list box etc. to query ..).&lt;/P&gt;
&lt;P&gt;But in your case, why do you wrap the dialog for Summary in a modal window? It would work perfectly w/o.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 10:23:00 GMT</pubDate>
    <dc:creator>Georg</dc:creator>
    <dc:date>2022-02-28T10:23:00Z</dc:date>
    <item>
      <title>How to Set the Link to Original Data Table Check Box() to off as the Summary window opens</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465111#M70922</link>
      <description>&lt;P&gt;I was wondering if someone could offer a solution for how to allow the Summary input box to show up but have the "Linked to source data" option unchecked.&amp;nbsp; I tried this:&amp;nbsp; dt&amp;lt;&amp;lt;summary(link to original data table(0)); but it just runs the summary with nothing selected.&amp;nbsp; For right now I'm using just dt&amp;lt;&amp;lt;summary(); but I have to remember to click the check box or else when my macro closes the table being summarized the summarized table closes as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);

dt=current data table();

selrows=dt&amp;lt;&amp;lt;get selected rows;

dt2=dt&amp;lt;&amp;lt;subset(selrows, selected columns(0),"invisible",);



If(
	ex = New Window( "Press to continue",
		&amp;lt;&amp;lt;Modal,
		&amp;lt;&amp;lt;Return Result,
		V List Box(
			H List Box( Button Box( "OK" ), Button Box( "Cancel" ) ),
			obj=dt2&amp;lt;&amp;lt;summary(),
		)
	);
	ex["button"] == 1;
,
	ex["variable"],
	"CANCEL"
);

dt3=current data table();

close(dt2,nosave);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:11:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465111#M70922</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2023-06-09T18:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Table summary question</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465159#M70925</link>
      <description>&lt;P&gt;Seems that Summary is executed directly when there is any argument. And did not find Preferences for Summary either. So I did not find a simple solution.&lt;/P&gt;
&lt;P&gt;One workaround would be to generate a modal window to select the input you need to perform summary (e.g. col list box etc. to query ..).&lt;/P&gt;
&lt;P&gt;But in your case, why do you wrap the dialog for Summary in a modal window? It would work perfectly w/o.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 10:23:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465159#M70925</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2022-02-28T10:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table summary question</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465224#M70933</link>
      <description>&lt;P&gt;Thanks for looking into it Georg,&lt;/P&gt;&lt;P&gt;Looks like I'll add in the collist box like you said,&amp;nbsp; was just looking to be lazy!&amp;nbsp; Also, the modal is in there because I copied that portion of script from another one and just didn't do much clean up, so once again being lazy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 15:43:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465224#M70933</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2022-02-28T15:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table summary question</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465297#M70938</link>
      <description>&lt;P&gt;Here is a method that permits the Link to Original Data Table to be unchecked,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1646065769460.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/40356iFDBEB839B69B24F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1646065769460.png" alt="txnelson_0-1646065769460.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the code for the remaining script not to be run until the Summary window is processed&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );

obj = dt &amp;lt;&amp;lt; summary();
win = Window( "Summary" );
(win[CheckBoxbox( 2 )]) &amp;lt;&amp;lt; set( 1, 0 );
win &amp;lt;&amp;lt; onclose(
	Show( "done" );
	//additional code to be processed once window is closed
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 16:31:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465297#M70938</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-02-28T16:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table summary question</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465327#M70940</link>
      <description>&lt;P&gt;Perfect thanks Jim!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 17:13:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-the-Link-to-Original-Data-Table-Check-Box-to-off-as/m-p/465327#M70940</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2022-02-28T17:13:04Z</dc:date>
    </item>
  </channel>
</rss>

