<?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: Save small datatable to Journal in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5707#M5706</link>
    <description>&lt;P style="font-size: 12px; font-family: Courier;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" ) &amp;lt;&amp;lt; Summary( Group( :Age ), Mean( :Height ) );
dt &amp;lt;&amp;lt; journal;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Works in JMP 9 &amp;amp; 10, possibly also in older versions.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jun 2018 14:16:44 GMT</pubDate>
    <dc:creator>ms</dc:creator>
    <dc:date>2018-06-18T14:16:44Z</dc:date>
    <item>
      <title>Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5704#M5703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been at this for a while and I know it's doable but I can't seem to get it to work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can save my Graphs to a journal but can't append a small data table (summary table) to the journal.....&amp;nbsp; --- any hints?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2012 00:24:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5704#M5703</guid>
      <dc:creator>twaintwist</dc:creator>
      <dc:date>2012-09-29T00:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5705#M5704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Highlight the cells you want in the table, or select everything, then hit Crtl-J or Edit--&amp;gt; Journal.&amp;nbsp; The selected cells should show up in the Journal with column headers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2012 15:55:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5705#M5704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-29T15:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5706#M5705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ---- I should have been more clear in my need ---- I need to save the Datatable to a journal using a script....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2012 00:11:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5706#M5705</guid>
      <dc:creator>twaintwist</dc:creator>
      <dc:date>2012-09-30T00:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5707#M5706</link>
      <description>&lt;P style="font-size: 12px; font-family: Courier;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" ) &amp;lt;&amp;lt; Summary( Group( :Age ), Mean( :Height ) );
dt &amp;lt;&amp;lt; journal;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Works in JMP 9 &amp;amp; 10, possibly also in older versions.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 14:16:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/5707#M5706</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2018-06-18T14:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/60472#M32946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your solution works. However do you know a way to give that journal a name then I can append other graphs in the same journal?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 14:00:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/60472#M32946</guid>
      <dc:creator>Heidi</dc:creator>
      <dc:date>2018-06-18T14:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/60474#M32948</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$ENGLISH_SAMPLE_DATA/Big Class.jmp" ) &amp;lt;&amp;lt; Summary( Group( :Age ), Mean( :Height ) );
xx = New Window( "my journal", &amp;lt;&amp;lt;journal );
dt &amp;lt;&amp;lt; journal;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is all covered in the Scripting Guide.&amp;nbsp; I strongly encourage you to read through it&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Books==&amp;gt;Scripting Guide&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 14:14:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/60474#M32948</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-06-18T14:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/696081#M88131</link>
      <description>&lt;P&gt;I am already making an dt and journal it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now I want to make the table readable and comprehensive. There for I formatted my dt with :&lt;/P&gt;&lt;P&gt;dt&amp;nbsp;&amp;lt;&amp;lt; Set Cell Height( 100 );&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;dt6:Item &amp;lt;&amp;lt; Set Display Width( 70 );&lt;BR /&gt;dt6:CaseUD &amp;lt;&amp;lt; Set Display Width( 60 );&lt;BR /&gt;dt6:RAMS state &amp;lt;&amp;lt; Set Display Width( 300 );&lt;BR /&gt;dt6:N Rows &amp;lt;&amp;lt; Set Display Width( 40 );&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;The table looks good now, but when I do&lt;/P&gt;&lt;P&gt;dt6 &amp;lt;&amp;lt; Journal();&lt;/P&gt;&lt;P&gt;The table in the journal will be without the formatting above. I tried a lot of options but can't find a way to get my formatted table into the journal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 13:09:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/696081#M88131</guid>
      <dc:creator>JeroenLubbers</dc:creator>
      <dc:date>2023-11-09T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/696197#M88139</link>
      <description>&lt;P&gt;When you append datatable to a journal, it will be converted to Table Box with different &lt;STRONG&gt;type &lt;/STRONG&gt;col boxes, widths don't seem to get copied over and you cannot have multiple lines in "normal" &lt;STRONG&gt;type&lt;/STRONG&gt; col boxes. You can try to use some weird workaround like this, where you edit the table box and add extra column to it (col box can have multiple lines...)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

jrn = Current Journal();

dt &amp;lt;&amp;lt; journal;

Column(dt, "name") &amp;lt;&amp;lt; Set Display Width(150);
dt &amp;lt;&amp;lt; Set Cell Height(100);

rep = dt &amp;lt;&amp;lt; get as report;
tb = rep[TableBox(1)];
tb[1] &amp;lt;&amp;lt; Set Width(150);
tb &amp;lt;&amp;lt; Append(cb_hidden = Col Box("hidden", Text Box("", &amp;lt;&amp;lt; Set N Lines(2))));
cb_hidden &amp;lt;&amp;lt; Visibility("Hidden");

rep &amp;lt;&amp;lt; journal;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1699546002389.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/58504i5CFDCFF0E67E5337/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1699546002389.png" alt="jthi_0-1699546002389.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are hopefully better methods than this.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:07:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/696197#M88139</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-09T16:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/697207#M88271</link>
      <description>&lt;P&gt;Hi Jarmo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing this work around. This is something to try to embed in my script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I have one column with more text. Here I use code below to make it wrap. There is no function to do that unfortunately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt10 &amp;lt;&amp;lt; New Column( "UD event" );
:UD event &amp;lt;&amp;lt; Data Type( "Character" );
dt10 &amp;lt;&amp;lt; Begin Data Update;
		For each row( 
			Wstate = Words( :Reason, "/" );
			:UD event =  Wstate;		);   //:RAMS state short = Concat Items( Wstate, "," );
dt10 &amp;lt;&amp;lt; End Data Update;
dt10 &amp;lt;&amp;lt; Delete Columns( :Reason );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 12 Nov 2023 20:13:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/697207#M88271</guid>
      <dc:creator>JeroenLubbers</dc:creator>
      <dc:date>2023-11-12T20:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Save small datatable to Journal</title>
      <link>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/697210#M88272</link>
      <description>&lt;P&gt;How do you want the text to wrap? If you have text data using Col Box(Text Box()) combination should be able to meet most of the needs for text data. If you want it to wrap on specific character it can be more difficult.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
win = New Window("Example", fontobj = text = Text Box("Example Text"));
text &amp;lt;&amp;lt; Set Wrap(50);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Providing some small sample or mock-up data (if you cannot share real-data) which shows the issues you are facing, will most likely make it easier to provide you better instructions. Also if possible provide screenshot about how you would like the data to look like.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 21:10:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-small-datatable-to-Journal/m-p/697210#M88272</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-11-12T21:10:47Z</dc:date>
    </item>
  </channel>
</rss>

